Everything posted by Choonster
-
Faz 2 Anos é nada
Please keep this forum in English.
- Better MC 4 server pack is giving me "Error: Could not find or load main class @user_jvm_args.txt" when i try to run it.
-
Hola, alguien sabe crear un servidor de forge con mods para minecraft java, llevo 1 mes intentándolo y esque no me funciona.
Please keep this forum in English.
- Some people in my server have this crash report, while others don't
-
Crash when creating new world in custom 1.12.2 modpack java.lang.NullPointerException: Exception in server tick loop
- I get an unexpected crash error message on forge please help
- I keep getting "The game crashed whilst rendering overlay" error
- How do I get a entity to spawn reinforcements backup?
- Invalid Mod file found error
- 1.20.1 Modded Server crashes when players enter Nether
- org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
You posted in an unrelated topic and triggered the anti-spam by posting your log directly, I've split your post into its own topic. Please read the FAQ.- Storing/Retrieving NBT data in an itemstack in 1.21
https://github.com/positivevibes123/MinecraftExplosiveMod/blob/3dfabe6cd67213db484737c8cce650583dd894f1/src/main/java/com/gmail/damoruso321/bomb/datacomponents/ModDataComponents.java#L19 This should be DATA_COMPONENT_TYPES.register(eventBus), not eventBus.register(DATA_COMPONENT_TYPES).- Storing/Retrieving NBT data in an itemstack in 1.21
The repository is private.- Storing/Retrieving NBT data in an itemstack in 1.21
Have you registered the DeferredRegister with the mod event bus? You can link your GitHub repo.- Storing/Retrieving NBT data in an itemstack in 1.21
Forge fires RegisterEvent (which is used internally by DeferredRegister) for each registry in a specific order, so changing the registration order in your code won't help. I haven't actually been able to run my mod since 1.20.6 because I'm waiting on Item Capabilities, so I haven't encountered this error myself. It looks like you can't use your DataComponentType during Item registration, so you probably need to get/add it on demand with getOrDefault and set, instead of in registration.- Storing/Retrieving NBT data in an itemstack in 1.21
I don't think there's any documentation on them yet, I mainly just looked at the Vanilla code when implementing mine. You can see a fairly simple example here: Registration: https://github.com/Choonster-Minecraft-Mods/TestMod3/blob/f3bea10d5f455fa0904056caafd8c844b6fd13ae/src/main/java/choonster/testmod3/init/ModDataComponents.java#L50-L58 Item Registration: https://github.com/Choonster-Minecraft-Mods/TestMod3/blob/f3bea10d5f455fa0904056caafd8c844b6fd13ae/src/main/java/choonster/testmod3/init/ModItems.java#L264-L266 Usage: https://github.com/Choonster-Minecraft-Mods/TestMod3/blob/f3bea10d5f455fa0904056caafd8c844b6fd13ae/src/main/java/choonster/testmod3/world/item/EntityCheckerItem.java- Storing/Retrieving NBT data in an itemstack in 1.21
The situation is the same in 1.20.6. Data Components were introduced in 1.20.5/1.20.6 and Item Capabilities haven't been re-implemented since then.- Storing/Retrieving NBT data in an itemstack in 1.21
Item Capabilities haven't been re-implemented in 1.21 yet, you can use Vanilla's Data Components system instead. See DataComponents and the related classes.- My Minecraft mod keeps crashing need help
- JEI Crash
- help pls.
- Lag even though I have good FPS, help
- What is stopping Structure Generation?
These are the Forge forums, we don't support Fabric here.- 1.21 Forge MDK ResourceLocation error in Config.java
- Forge 1.21 - 51.0.1 | Config.java uses ResourceLocation, but it is set to private.
See the two posts above yours.IPS spam blocked by CleanTalk.Important Information
By using this site, you agree to our Terms of Use.
Account
Navigation
Search
Configure browser push notifications
Chrome (Android)
- Tap the lock icon next to the address bar.
- Tap Permissions → Notifications.
- Adjust your preference.
Chrome (Desktop)
- Click the padlock icon in the address bar.
- Select Site settings.
- Find Notifications and adjust your preference.
Safari (iOS 16.4+)
- Ensure the site is installed via Add to Home Screen.
- Open Settings App → Notifications.
- Find your app name and adjust your preference.
Safari (macOS)
- Go to Safari → Preferences.
- Click the Websites tab.
- Select Notifications in the sidebar.
- Find this website and adjust your preference.
Edge (Android)
- Tap the lock icon next to the address bar.
- Tap Permissions.
- Find Notifications and adjust your preference.
Edge (Desktop)
- Click the padlock icon in the address bar.
- Click Permissions for this site.
- Find Notifications and adjust your preference.
Firefox (Android)
- Go to Settings → Site permissions.
- Tap Notifications.
- Find this site in the list and adjust your preference.
Firefox (Desktop)
- Open Firefox Settings.
- Search for Notifications.
- Find this site in the list and adjust your preference.
- I get an unexpected crash error message on forge please help