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. show your Entity class, did you create a custom EntityType? did you use EntityType.Pig in your Entity constructor?
  2. when a Field can be final it should be Edit: forgot to say i would recommend you to use DeferredRegister
  3. post debug log from server and client
  4. Forge use now Mojang class names and their package names, you can use the Forge bot on discord to convert from mcp to moj mappings But I would recommend you to use this scrip it will update your hole project automatically
  5. the answer to all three Questions is the BiomeLoadingEvent, check if the Biome of the Event is the Biome you want to add some Features, then you can get the Feature List (BiomeGenerationSettings) from the Event and then add your Features Note: with Features I mean ConfiguredFeatures
  6. delete the forge server-config and try again
  7. show where you register your TE
  8. you need to use EntityType.Builder and then you can use DeferredRegister or RegistryEvents
  9. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  10. remove this file: C:\Users\Jon\Desktop\Server\config\fml.toml
  11. in which case? with SilkTouch, without SilkTouch or in both
  12. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  13. 1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  14. yeah it is possible you can print the ID (I think you mean the UUID), when the Player joins the Server run the code in PlayerLoggedInEvent
  15. the code should work, if the SilkTouch level is 0 it will return a random xp count between 0 and 9, if the SilkTouch level is not 0 it will return constantly 20
  16. then show what you tried
  17. the ItemTier has a new getter where you can return a Tag create a new Tag for this Tier, you can then use the TierSortingRegistry to add the Tier after the vanilla ones (not sure if "TierSortingRegistry" is the correct name)
  18. it needs the default BlockState as an Supplier, and not only the default Block
  19. take a look at the vanilla OreBlock and copy the logic to your own Block
  20. did you looked at the constructor, since the constructor need the default Block as an Supplier like the OakStair has the OakBlock as default
  21. learn basic java, since Block is not and int you need to pass in the BlockPos (as first parm), the BlockState (as second parm), the place flag (as second parm), you could use 3, the fourth parm is not needed since there is a method with only these 3 parm
  22. for me it works on server and on client, again the code works how it should with this code: client: https://ibb.co/Pz4xgjS server: https://ibb.co/XtLRTjN
  23. I tried to reproduce your problem, but i can't. The ducks are very rare in Beach and River Biomes and when they spawn there are 2-5 Ducks the code works how it should
  24. you can search for it in the forum, as I have already answered this question in a few threads you can start at this thread:

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.