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. to the Block.Properties in your Block class constructor
  2. you need to set the RenderType of the block to translucent, do this in your FMLClientSetupEvent and use RenderTypeLookup # setRenderLayer you also need to add noOcclusion to your Block.Properties (if you don't do this you can look "though" the block into the world)
  3. eclipse has sometimes problems to import a forge project (it doesn't add the forge/minecraft library), try to reimport it or run the gradlew command (you need to use a .bat file), this should fix your problem gradlew command: gradlew genEclipseRuns --refresh-dependencies&&gradlew eclipse
  4. you need to set the "value" in the EventBusSubscriber annotation take a look at the forge doc -> there is a practical example https://mcforge.readthedocs.io/en/latest/events/intro/
  5. don't use onBlockHarvested, use harvestBlock instead
  6. did you use autoreglib?
  7. The Event is called BlockEvent$EntityPlaceEvent
  8. you also can try to use an AttributeModifier (Attributes#MOVEMENT_SPEED), use the ArmorItem as an example or try to manipulate the player's motion, but that's tricky
  9. you still use MCP mappings, used PlayerEntity#sendPlayerAbilities
  10. Minecraft Forge is java based, Minecraft Bedrock was programmed with C, since C and Java are not compatible it would be a lot of work to create Forge for C, so there is or will probably never be Forge for Minecraft Bedrock If you mean Minecraft Bedrock you are wrong Minecraft was originally developed for java (for the pc), Minecraft Bedrock was created by Microsoft, with the idea of a version for all devices (PC, mobile phone, xbox, playstation)
  11. try to call PlayerEntity#onUpdateAbilities after change the walkSpeed
  12. i think you can use Minecraft#getInstance()#player
  13. take a look when the Event is fired, because it's possible that the ItemStack which is given by the Event is a copy of the original, which means you can't modify the ItemStack in the Event
  14. this will only check if you play in a single player world so it will not include lan servers/normal servers like hypixel in which event do you want to play the sound
  15. No but it will return null if you use it in a only server side code part, because Minecraft class can only use on client
  16. No, no, no you need subscribe to the event, check out the forge doc about events
  17. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  18. Overwrite the initCapabilities methode in your Item class
  19. use this with an ItemStack Capability
  20. no nbt, you need an IArmorMaterial, look at the vanilla ArmorMaterial enum, also take a look at the ArmorItem
  21. your mod id should be in lower case. In addition, it should not contain any special characters like ', and use underscores for spaces
  22. does the features of your mod work? if not show your mod main class
  23. explain what you mean by "I cant see the Mod." are there any error on the log?
  24. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  25. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.

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.