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.

aritod

Members
  • Joined

  • Last visited

Everything posted by aritod

  1. That's kind of basic java. Can you show your code and show what you tried?
  2. Now override getArmorModel(), return an instance of your java class, override getArmorTexture(), and return your texture ResourceLocation.
  3. Create a custom entity and look at the PlayerEntity code. To change the sounds it makes override getAmbientSound(), getHurtSound(), getDeathSound(), etc.
  4. No just somewhere under java directory
  5. Put the class in your project, then return an instance of it in the getArmorModel() override method.
  6. In blockbench you can export your model as a .java class. Do that.
  7. Try moving matrixStack.scale(f, f, f) out of the if statement.
  8. Hi. I am trying to do something so that Minecraft quits instantly, and safely. I tried System.exit(-9); But that doesn't seem safe nor quick. So any ideas? Help is appreciated.
  9. ^ What he said and also provide a paste instead of a screenshot using a website like https://paste.ee/, https://hastebin.com/, etc.
  10. What version of minecraft are you using?
  11. It should be either OreFeatureConfig.FillerBlockType.NATURAL_STONE OR OreFeatureConfig.FillerBlockType.NETHER_ORE_REPLACEABLES OR OreFeatureConfig.FillerBlockType.NETHERRACK
  12. I'm not sure I quite understand you. What I'm saying is that your project structure should look like this: Notice how the path is src/main/java/com/dracodoes/mcexamples/ instead of src/main/java/com/mcexamples/examplemod/ So make sure your project structures looks like this. Obviously, you can rename the directory 'dracodoes' to another name, such as MacDax, etc, as it represents the mod author. I am not asking you to change anything in your mods.toml file, so either I misunderstood you, or you misunderstood me. Also, sorry if this is not what you meant, because you were somewhat unclear.
  13. Why does the mod id in the .toml file not match that of your packages? The path of your classes should be src/main/java/com/<MOD_AUTHOR>/<MOD_ID>/... But yours is src/main/java/com/mcexamples/examplemod/... So to fix your issue, under the package .../java/ refactor the package mcexamples to the mod author, so 'dracodoes' for example, then refactor the package examplemod to 'mcexamples'
  14. I'm trying to create a custom GUI Screen and render it but I am having difficulties. I tried googling it but it's hard to find one for version 1.16.5/1.16.4 specifically. Here is my code: https://paste.ee/p/mcqGH
  15. Thank you so much! Can't believe something as little as that was the cause of this. Now I can finally continue working on my mod. Thanks to everyone who helped
  16. https://github.com/ForgeModDev/LogFixer/tree/master
  17. https://paste.gemwire.uk/view/101f4689
  18. Where is the debugger log? Also here is my entity class: https://paste.gemwire.uk/view/3fe1958b
  19. The error is still the same and both ClientSetupEvent and EntityAttributeCreationEvent are called after checking through debug mode.
  20. Hi I did these 2 things but it still crashes: https://paste.gemwire.uk/view/a41ce426
  21. https://paste.gemwire.uk/view/98040c70
  22. The parameter 'bus' in EventBusSubscriber is using Mod.EventBusSubscriber.Bus.MOD which is the mod event bus so I'm not sure why it is using the forge event bus. The parameter 'value' does not seem to be related but I added it as a parameter because it says that it is only necessary if it is not on the same class that has a @Mod annotation. It still crashes so I'm not really sure what I should be looking for. This is my code:
  23. How do i subscribe to the mod event bus

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.