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. EntityType: use EntityType.Builder and register it via DeferredRegister EntityRenderer: extends EntityRenderer (look at the ThrownTridentRenderer for an Example) and register it in FMLClientSetupEvent Model: create the Model via Blockbench and create a new instance of it in your EntityRenderer
  2. this is your problem you should create a EntityType for your custom Entity and not use the vanilla Egg EntityType you also need a custom Renderer & Model for your Entity
  3. inside the doc there are example, i also told you that the mdk comes with a working and registered FMLCommonSetupEvent if you don't understand the doc you need to learn basic java!
  4. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  5. you will need the .mcmeta were you tell minecraft how to animate the texture you can look at the water .mcmeta to understand how it works the texture of an animated object will is simple extends downwards, so like the normal texture size is 64*64 and you want 4 different textures the size of the texture would be 64*256 look also for that at the water texture Edit: this is an example of mine (the blood texture)
  6. the commands are: !mcp -c moj <name> -> convert from mcp mappings to mojang mappings !moj -c mcp <name> -> convert from mojang mappings to mcp mappings replace '<name>' in your case with 'getHorizontalIndex'
  7. the mdk comes with a working FMLCommonSetupEvent look at it
  8. create your own thread and post debug log
  9. edit the title of the this thread
  10. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  11. show the full PlayerCapability class
  12. show the PlayerCapability.PlayerCapabilityFactory class
  13. take a look at these two classes: https://github.com/Luis-st/Forge-1.16.5-Bedwars/blob/7db99ce5b48ec65f37699c2a3d6740222d3289f2/src/main/java/net/luis/bedwars/init/ModBedwarsCapability.java https://github.com/Luis-st/Forge-1.16.5-Bedwars/blob/7db99ce5b48ec65f37699c2a3d6740222d3289f2/src/main/java/net/luis/bedwars/events/OnAttachCapabilitiesEvent.java Edit: the Storage and Factory of a Capability are unused, you do not need to implement them just return null
  14. looks okay can you post a git repo of your mod so i can use debugger
  15. do you know basic java? String PlPos = getPosition (); the method is called position and not getPosition the variable which is return by position is a Vec3 and not a String
  16. you shouldn't use the tutorial, its 1.16.4 and the levelgen has changed in 1.17 the tutorial never registered the ConfiguredFeature correctly this is the code you need to run side the FMLCommonSetupEvent: private static <FC extends FeatureConfiguration> ConfiguredFeature<FC, ?> register(String name, ConfiguredFeature<FC, ?> configuredFeature) { return Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, new ResourceLocation(Nero.MOD_ID, name), configuredFeature); }
  17. 1.14 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  18. you can look where they located and where they called from vanilla code use your ide
  19. in every biome which has grass as top block layer
  20. no idea what is wrong, i can not reproduce the error with your code
  21. show all relevant classes (Events)
  22. noProjection -> func_227317b HEIGHTMAP_DOUBLE_SQUARE -> PATCH_PLACEMENT
  23. yes, a larger value makes the feature more common

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.