Skip to content
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 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

Restrictions for Hell and End don't work #77

Open
DerMilchkarton opened this issue Feb 21, 2018 · 0 comments
Open

Restrictions for Hell and End don't work #77

DerMilchkarton opened this issue Feb 21, 2018 · 0 comments

Comments

@DerMilchkarton
Copy link

If you try to register an ore for hell, end and overworld it only gets registered for overworld:

Restriction res = new Restriction(new DimensionRestriction(-1, 1));
OreRegistry.registerOre(new RegisterOreMessage(new ItemStack(Blocks.bedrock), new DistributionTriangular(50, 50, 0.1F), res, new ItemStack[0]));
(bedrock for testing)
executing that piece of code results in the tooltip: valid dimensions: Overworld
i tried other dimensions from galacticraft eg.: Mars and it works there but neither in hell nor in end

@DerMilchkarton DerMilchkarton changed the title Restriction for Hell and End don't work Restrictions for Hell and End don't work Feb 21, 2018
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

1 participant