Jump to content

Feature.ORE not working


FrancHerodez_uwu

Recommended Posts

Hello everyone. I am making a mod with my own ore but i have a problem making it...

private static ConfiguredFeature<?, ?> BENARDIUM_ORE_OVERWORLD = Feature.ORE.configure(new OreFeatureConfig(OreFeatureConfig.Rules.BASE_STONE_OVERWORLD, BENARDIUM_ORE.getDefaultState(), 14))

    .decorate(new RangeDecoratorConfig(UniformHeightProvider.create(YOffset.fixed(0), YOffset.fixed(100)))).spreadHorizontally().repeat(25);

this is my code and the error is right after the "=" sign... it underlines ORE and the error i get is ORE cannot be resolved or is not a field... Also if you have time please help mi with ore generation because i have zero exprerience working with that...

 

i am coding on 1.17 version and with fabric. Any help is welcome.

 

Have a great day

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.