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. did you use a BER? if yes show the code.
  2. add a serialize and deserialize method to your CapabilityHandler call there the logic from write and read method, then call these two methods from serializeNBT and deserializeNBT of your CapabilityProvider. Note you can call the logic from the read and write method directly from your CapabilityProvider if you hava setters to set the values of your Capability
  3. for a basic logic you can use BlockState Properties similar to Redstone. If you need so advanced logic you can use the EnergyCapability from Forge in combination with BlockEntities
  4. looks okay but I would recommend you to check also the side, since you should call the logic only on server and if it's required update the client via a custom Packet
  5. you can take a look at the Arrow it will be removed if it's a few seconds on Ground
  6. you should only copy the logic not the code exactly and iirc the enum was for the Blockstate so the UpperBlock has a other texture than the LowerBlock In this case your main Block is a corner, if you do this it means you render the Block in a BER this means you only need one Block
  7. update Forge to the latest version, also note 1.16 requires java 8
  8. which file did you delete exact, please post path
  9. do not post code for other here, you can permalink them on github, for example: this these Events are server and client side or server side only (im not 100% sure), but this means you can't put them into a Client side EventHandler class, move them to a new/other EventHandler
  10. it's an Axis Angle Bounding Box (iirc), so basiclly a Bounding Box
  11. error? if yes post it. you can not retrun null there
  12. Error in Blue Skies, make sure you use the latest version of the Mod, if you use the latest version report the bug to the Mod author.
  13. update Forge to the latest version (1.16.5 - 36.2.26)
  14. you use the recommended version of Forge, but you should use the latest version (1.16.5 - 36.2.26)
  15. use the latest version (1.16.5 - 36.2.26)
  16. what kind of Event are the preShoot and the postShoot? you need to add the Dist to the EventBusSubscriber via the 'value' and set it to Dist.CLIENT
  17. no, you need both the TickEvent which calls your custom logic each Tick and the AttachCapabilitiesEvent which adds the Capability to all Entities which should hava your Capability. Read the doc about Events it explains everything about how to use Events. If you don't know how to create a Event handler, I would recommend you to first learn the basics of java before modding minecraft
  18. Mixin is not supported on this Forum, but you can get help on the Forge Discord in the non-api-modding channel

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.