8000 [Request] Configurable hardrock-forming blocks and confining blocks? · Issue #35 · rockhymas/iberia · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Request] Configurable hardrock-forming blocks and confining blocks? #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up 8000 for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nepphhh opened this issue Jun 14, 2018 · 2 comments
Open

Comments

@nepphhh
Copy link
nepphhh commented Jun 14, 2018

I'd like to make some modded materials harden under pressure and also to add them and some other blocks as confining blocks! Is there a config for 1.10.2 that would do this? If not, would you consider adding one?

@rockhymas
Copy link
Owner

I actually investigated making the blocks that could harden configurable, but my current knowledge of modding isn't adequate to the challenge. I gave up. If you know enough to tackle it, I'd welcome a pull request.

But for both that and configuring other blocks that "compress" I would only consider adding them for the latest version, currently 1.12.2. I may revisit these possible additions when I get around to upgrading this to 1.13 at some point.

@nepphhh
Copy link
Author
nepphhh commented Jun 17, 2018

How hard would it be for this list to be referenced from a config's list of blocks? Something like minecraft:dirt, minecraft:stone, quark:basalt, etc.?

> ~/blocks/BlockHardStone.java
public static boolean isCompressingBlock(Block block) {
	return block instanceof BlockStone ||
		block == Blocks.BEDROCK ||
		block == Blocks.DIRT ||
		block == Blocks.SANDSTONE ||
		block == Blocks.RED_SANDSTONE ||
		block == Blocks.STAINED_HARDENED_CLAY ||
		block == Blocks.HARDENED_CLAY ||
		(block instanceof BlockOre);
}

I'm not a Java coder, so I'm not sure how you're handling different types of rocks--how do you form hardstone granite, for example?

Would you consider forking off just the hardstone component of iberia into its own mod?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0