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.

Noxxous

Members
  • Joined

  • Last visited

  1. I have a workaround you first go into mods.toml and set ORDERING for the mod to = "BEFORE" just use Java to go into the compressed file using opensource code and you want to replace the texture there and then when minecraft loads or reloads it should be different
  2. Thanks, sorry I didn't click follow
  3. Hi, I wanted to find the entity the player is looking at. Thanks
  4. It started working when I deleted the hacked images
  5. I tried hacking it by creating two animated textures, and then I cut in half and put one under the other, and that broke Forge
  6. I finally got it to work by changing everything to example mod which seems to work. I think I need to delete something in the background, and I think that this is a bug, because I was trying to hack Minecraft to let me to have a bigger file, and that's why you haven't dealt with this before. It has taken a lot of work, and I am just wondering what I could delete
  7. It doesn't work even when I deleted the files
  8. The thing is that I reset it back to before and it's still not working
  9. This has come since I tried using a animated Texture that had too many pixels (512*512), and Minecraft didn't like it. I was wondering if you guys could help?
  10. Noxxous changed their profile photo
  11. I also have a personal theory that even the names of the variables have to be exact. I don't care anymore because I am done
  12. I just copied and pasted from a tutorial and it worked. It was probably because of the rule test variable, the spawn rate being too high and the height difference. I think that the spawn rate's maximum is 50 but I'm not going to do anything else so that I don't become burnt out
  13. I got the json file location right and I've tested it so it does work
  14. It sounds like the names used to distinguish two world generation code is the same, which confuses the system and causes it to crash because that's not how it's supposed to happen. What you could try doing is experimenting with alternative mods by deleting different ones until you find the culprit
  15. It won't even crash
  16. Hello, I am currently trying to get custom ore generation to work and I have tried to imitate every last bit of code from the tutorials, I've edited and I have even tried using an older version of Forge but it still isn't working. I have spent hours working on this for nothing public Lightsaber_Main() { IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus(); itemInit.Items.register(bus); BlockInit.Blocks.register(bus); ModSounds.register(bus); configuredFeatureInit.CONFIGURED_FEATURES.register(bus); PlacedFeaturesInit.Placed_Feature.register(bus); MinecraftForge.EVENT_BUS.register(this); } public class configuredFeatureInit { private static final RuleTest END_STONE = new BlockMatchTest(Blocks.STONE); public static final DeferredRegister<ConfiguredFeature<?, ?>> CONFIGURED_FEATURES = DeferredRegister.create(Registry.CONFIGURED_FEATURE_REGISTRY, Lightsaber_Main.MOD_ID); public static final Supplier<List<OreConfiguration.TargetBlockState>> END_KYBER_CRYSTAL_ORE = Suppliers.memoize(() -> List.of( OreConfiguration.target(OreFeatures.STONE_ORE_REPLACEABLES, BlockInit.kyber_crystal_ore.get().defaultBlockState()), OreConfiguration.target(OreFeatures.DEEPSLATE_ORE_REPLACEABLES, BlockInit.kyber_crystal_ore.get().defaultBlockState()) )); public static final RegistryObject<ConfiguredFeature<?, ?>> END_ORE_GENERATION = CONFIGURED_FEATURES.register("kyber_crystal_ore", () -> new ConfiguredFeature<>(Feature.ORE, new OreConfiguration(END_KYBER_CRYSTAL_ORE.get(), 14))); } public class PlacedFeaturesInit { public static final DeferredRegister<PlacedFeature> Placed_Feature = DeferredRegister.create(Registry.PLACED_FEATURE_REGISTRY, Lightsaber_Main.MOD_ID); public static final RegistryObject<PlacedFeature> END_ORE = Placed_Feature.register("kyber_crystal_ore_placed", () -> new PlacedFeature(configuredFeatureInit.END_ORE_GENERATION.getHolder().get(), commonOrePlacement(50, HeightRangePlacement.uniform( VerticalAnchor.aboveBottom(-64), VerticalAnchor.belowTop(319) ) ) ) ); public static List<PlacementModifier> commonOrePlacement(int countPerChunk, PlacementModifier height) { return orePlacement(CountPlacement.of(countPerChunk), height); } public static List<PlacementModifier> orePlacement(PlacementModifier count, PlacementModifier height) { return List.of(count, InSquarePlacement.spread(), BiomeFilter.biome()); } public static List<PlacementModifier> rareOrePlacement(int count, PlacementModifier height) { return orePlacement(RarityFilter.onAverageOnceEvery(count), height); } } add_kyber_crystal_ore.json: { "type": "forge:add_features", "biomes": "#minecraft:is_overworld", "features": "lightsabermod:kyber_crystal_ore_placed", "step": "underground_ores" }

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.