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. 'items/upperRAM is not valid resource location' is your error it should be: mod_id:items/upperRAM
  2. then there is no texture, please show the log
  3. define that "doesn't show in the game" ... screenshot?
  4. what was the solution (for people who have the same problem)?
  5. did you run the gradle refresh task, for your ide and trhe dependencies?
  6. add zeroHardnessAndResistance to Block.Properties
  7. 1.8 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  8. Official documentation: https://docs.oracle.com/javase/tutorial/ Absolute basics with an interactive editor: https://www.codecademy.com/learn/learn-java Ongoing online course with assignments: https://java-programming.mooc.fi/
  9. do not use @OnlyIn, and learn what static mean in addition put never DeferredRegister and RegistryObjects in different classes Have you ever checked whether the methods are called the way you want them to? use Debbuger? and btw: https://www.oracle.com/java/technologies/javase/codeconventions-namingconventions.html
  10. take a look at the StructureBlockRenderer, but you normally render a line with LevelRenderer#renderLine
  11. this is actually the same, you rotate the model in the blockstate.json file
  12. sorry I have no idea what you mean🤔
  13. 'java.lang.UnsupportedOperationException' because 'com.google.common.collect.ImmutableMap.put' you can't put things in a ImmutableMap, you will need to get all objects from the Map and then create a new Map Edit: you can't use a for-each loop on a ImmutableMap (Minecraft.getInstance().getEntityRenderDispatcher().getSkinMap() will return a ImmutableMap) you need to create to create a new HashMap and do then the for-each loop (you can use Maps.newHashMap and put Minecraft.getInstance().getEntityRenderDispatcher().getSkinMap() as parameter)
  14. update to 1.17?
  15. use the vanilla method EntityRenderers#register
  16. right click in your project the "JRE System Library", then you can change the java version of your project
  17. this are minecraft tags, so you need to put them in data.minecraft.tags folder
  18. take a look at IForgeBlock#getFlammability
  19. try to add your block to the mineable block tags (axe, hoe, pickaxe, shovel)
  20. do you know basic java? since expanding classes is one of the basics
  21. look at the vanilla net.minecraft.data.worldgen.Features class (you will need an ConfiguredFeature) then use BiomeLoading Event with Event Priority#HIGH to addfeatures into a biome

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.