Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TomTheDev

Members
  • Joined

  • Last visited

  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. TomTheDev joined the community
  5. 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?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.