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.

zlappedx3

Members
  • Joined

  • Last visited

  1. MinecraftForge.EVENT_BUS.register
  2. 1. Pass the ServerLevel parameter into factory(). 2. Call the getDataStorage() method within ServerLevel. 3. Call the computeIfAbsent() method within the ServerLevel::getDataStorage() method. 4. Pass the new SavedData.Factory<BeaconData>(BeaconData::new, BeaconData::load, DataFixTypes.LEVEL), yourmodID parameters into your computeIfAbsent() method. 5. Return it out as the factory() method.
  3. Wow! I'm not alone anymore. Waiting for the answer.
  4. Hi, I'm using the old way, the model is up. But when I use "loader": "forge:obj" and use the mlt file to call the texture normally, when I test it in the game, it loads all the textures in the texture.block packet in my resources. If you have any further questions about this issue, you can ask me.
  5. It seems like I made a slight mistake. Now I am able to use it properly. I didn't thoroughly check the data pack and it seems like there was a bug in the error checking of the IDE I was using. I don't blame anyone for this confusion. However, I can still build it even though the IDE is still indicating errors.
  6. I have completed everything you mentioned, and here is an example from GitHub: https://github.com/Tutorials-By-Kaupenjoe/Forge-Tutorial-1.19.3/blob/7-treeGeneration I would like you to look at the two main classes as follows: ModConfiguredFeatures, located in the package net.kaupenjoe.tutorialmod.worldgen ModWorldGenProvider, located in the package net.kaupenjoe.tutorialmod.datagen If you're using version 1.19.4-45.0.39 without updating to 45.0.40, the mentioned code works fine. However, if you switch to version 45.0.40 and try to add the method ModConfiguredFeatures::bootstrap, there will be an immediate issue. It seems like it cannot accept a method with a parameter as an instance, but it can still work properly with an instance that doesn't have an instant parameter, such as BootstapContext<PlacedFeature>.
  7. Hello, in 1.19.4-45.0.40, I'm using the RegistrySetBuilder class to add a method that has a parameter ConfiguredFeature<?, ?>>. However, I'm unable to add it successfully. But in version 45.0.39, I was able to do it without any problems. Do you happen to have any solutions to this issue?
  8. Hello, I want to render .obj inside my screen, is there a way to call .obj to render ? without using render items.
  9. Wow Thank you so mush.
  10. When i checking log update from forge it is not described as KeyInputEvent change to what, Can you give a hint or something? Or do I have to search in vanilla?
  11. @Luis_ST Okay thank you very mush now i meet this example. https://mcforge.readthedocs.io/en/latest/models/itemproperties/
  12. @Luis_ST What is ItemPropertyFunction ?
  13. Hello guys i create my bow and put overrides[] on my json model but pulling animetion don't work please try hint me something.
  14. Hello guys i meet the getSunriseColor() but i just changed color of the sunlight only, can i change color of sky ?

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.