Jump to content

TomTheDev

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by TomTheDev

  1. Hello again, do you know how to make a block? i've tried using the ore I made before the generation but didnt work... Oh, and if you do, can you please sent an example of whole block class just so i know fully what to code. Thanks, Tom
  2. I think I've got the solution, but @CodingNoob52, what do i import to make the "java class work. aka what imports make "final Block MY_ORE_BLOCK = Registry.register(BuiltInRegistries.BLOCK, "my_ore", new DropExperienceBlock(BlockBehaviour.Properties.of(Material.STONE).requiresCorrectToolForDrops().strength(3.0F, 3.0F), UniformInt.of(3, 7))); final ResourceKey<ConfiguredFeature<?, ?>> MY_ORE_LARGE = FeatureUtils.createKey("my_ore_large"); List<OreConfiguration.TargetBlockState> list = List.of(OreConfiguration.target(ruletest1, MY_ORE_BLOCK.defaultBlockState())); ConfiguredFeature<?,?> feature = new ConfiguredFeature(Feature.ORE, new OreConfiguration(list, 4, 0.5F)); Registry.register(BuiltInRegistries.CONFIGURED_FEATURE, MY_ORE_LARGE, feature);" work.
  3. Hi, I am new to java and im making a mod that includes ore generation in 1.19.3, and i have followed the post from @CodingNoob52 that fixed his problem. However, the only thing he shared was the json files that he made. does anyone know how to define the ore in forge 1.19.3?
  4. Hello, I'm trying to add ore generation as well and have used this for help, and am very new to java. do you know how to define the custom ore in forge 1.19.3?
×
×
  • Create New...

Important Information

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