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. please post the full debug log you can use https://gist.github.com/ for large text files
  2. wrong ItemBlockRenderTypes is used to set the RenderType of the Block, not sure why the class is called ItemBlockRenderTypes is this EventHandler called? use debugger to check
  3. there is no specal Item NBT, you can use Entity#save to save your Entity into the given CompoundTag Note the Tag you use to save the Entity should contains your Mod Id to avoid conflicts between other mods
  4. the code will not compile, because there is a bracket missing you call ItemBlockRenderTypes twice, in FMLCommonSetupEvent and the in FMLClientSetupEvent but you should call int onyl in FMLClientSetupEvent
  5. this is not how GitHub works, you should use a Git Client to upload your Project
  6. please post debug log, you can use https://gist.github.com/ for large text files
  7. if you don't know how to pass in a parameter to the constructor and storing this parameter in a final field you should learn basic java first
  8. it's a method you should call it you can get the ClientWorld from: Minecraft.getInstance().world
  9. Problem with Pollen. Make sure you are using the latest version. If the Mod is already up to date, report this bug to the Mod author. Also please stop spamming posts
  10. did you looked what the EnderpearlItem does in #use? but basically you need to create a new instance of ThrownEnderpearl, the you could modify the ThrownEnderpearl in the way you want but befor you add the ThrownEnderpearl to the Level via Level#addFreshEntity you need to call ThrownEnderpearl#shootFromRotation the second parameter is the x rotation the third parameter is the y rotation
  11. there is no sender on the client, due you sync your capability to all players you have to send the associated player's network id to the client then you can get the Player on client side via ClientWorld#getEntityByID you also need to note that Packets whach are sent from the server to the client should be handled in another class and wrapped via DistExecutor#unsafeRunWhenOn you can take a look at this as an example (the second code part)
  12. this will send the packet to all players, but yeah this should work
  13. this is not the full path
  14. if you need the default java path it should be C:\Program Files\Java else i don't know, this is your part where did you install java?
  15. you need to send a Packeet to the client
  16. copy the path of the java 8 installation and replace the java keyword in the command line command 1.16.5, there is no reason to use an outdated version also 1.12.2 is no longer supported
  17. no you can use the full path of java instead of 'java' in the command of the .bat/.sh file
  18. this is not possible post the new error please
  19. update Forge to the latest version and 1.16.5 requires java 8

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.