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.

Luis_ST

Members
  • Joined

  • Last visited

Everything posted by Luis_ST

  1. first you should store the Tier in a static field, second you should call TierSortingRegistry#registerTier in FMLCommonSetupEvent, the other code looks okay
  2. 1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  3. you need a percentage for each ingredient, when you return the Items of the Recipe you need to check the percentage via a Random
  4. you can use https://gist.github.com/
  5. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  6. this is not the full debug log
  7. can you please explain what exactly do you mean, since i haven't understood your question?
  8. yes definitely
  9. Error in Refined Storage Refined Storage Addons, make sure you use the latest version, if yes report the bug to the mod author.
  10. in 1.16.5 the class is called IngameMenuScreen
  11. 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
  12. you can look at the Forge Test Mods
  13. 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
  14. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  15. no remove the Dist value completely from the EventBusSubscriber
  16. via the Event, but check if the Player of the Event is an instance of ServerPlayer
  17. you subscribe the Event to Dedicated Server, then the Event is not fired in SinglePlayer
  18. did you test the Event in SinglePlayer or on a Server?
  19. 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
  20. 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

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.