Everything posted by Luis_ST
-
I can't import IItemTier in forge mod minecraft
first you should store the Tier in a static field, second you should call TierSortingRegistry#registerTier in FMLCommonSetupEvent, the other code looks okay
-
I can't import IItemTier in forge mod minecraft
- the game is crashing help
1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.- My Forge keeps crashing
post full debug log- [1.16.5] How to get a custom machine pick a custom recipe based on a percentage chance.
you need a percentage for each ingredient, when you return the Items of the Recipe you need to check the percentage via a Random- AutoReconnect mod for forge 1.16.5?? (AFK Allowed its my own server)
wrong info- 1.17.1 forge error code -1 help
you can use https://gist.github.com/- Moving map from one server to another issues
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.- Forge doesn't launch after starting game
this is not the full debug log- 1.17.1 only culling certain faces
can you please explain what exactly do you mean, since i haven't understood your question?- Issue with capability
yes definitely- Minecraft cant load cus of org.spongepowered.asm.mixin.transformer.throwables.MixinTransformer
yes, does it work now?- Minecraft cant load cus of org.spongepowered.asm.mixin.transformer.throwables.MixinTransformer
Error in Refined Storage Refined Storage Addons, make sure you use the latest version, if yes report the bug to the mod author.- Check if in game for click event
yes- Check if in game for click event
in 1.16.5 the class is called IngameMenuScreen- Check if in game for click event
you can check whether the player is currently playing with Minecraft.player != null, and if the Player is in the PauseScreen check if Minecraft.screen instanceof PauseScreen- How do i create baked model
you can look at the Forge Test Mods- Change Default NBT "Block Data" for Vanilla Blocks
As D7 said, it's not easy, but it is possible basically you need to create a custom SpawnerBlock, SpawnerBlockEntity and MonsterRoomFeature (you can extends the vanilla classes) inside the SpawnerBlock you need to overwrite the methods SpawnerBlock#getTicker and SpawnerBlock#newBlockEntity do the same logic than vanilla but with your BlockEntity inside the SpawnerBlockEntity you need to set the BaseSpawner of the SpawnerBlockEntity to a custom one (needs an AT) inside the MonsterRoomFeature you need to run the vanilla logic but you need to place your custom BlockEntity then subscribe to the BiomeLoadingEvent remove the vanilla MonsterRoomFeature and add your custom MonsterRoomFeature another way would be to make a PR, to add for Example an Event for that (BlockEntityPlaceEvent) -> Note: this is in my opinion the better solution but it will take some time (min 1 Month) Edit: the BlockEntityEvents are actually a good idea, when i have time i will make a PR for that- Error when building project: Error while building FML annotations cache: duplicate entry (1.12.2 - 2768)
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.- Event not firing
no remove the Dist value completely from the EventBusSubscriber- Event not firing
via the Event, but check if the Player of the Event is an instance of ServerPlayer- Event not firing
you subscribe the Event to Dedicated Server, then the Event is not fired in SinglePlayer- Event not firing
did you test the Event in SinglePlayer or on a Server?- Possibility of skipping main menu in the minecraft launcher.
do not create custom Launchers, also this is the Forge forum we do not support custom Clients (Launchers) and your question is not related to Forge- Cancel hotbar scrolling
subscribe to MouseScrollEvent, check inside the event if your custom KeyBinding is pressed via KeyBinding#isPresed if it is your KeyBinding is pressed cancel the Event - the game is crashing help
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.