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.

matwaua

Members
  • Joined

  • Last visited

  1. I am following a tutorial for modding minecraft 1.20.1, and while running the mod with the minecraft of the idea, no errors was present but, when I switched to real minecraft, it started to want a default constructor "public ZeroToAutomation()" instead of the one recomended by the video "public ZeroToAutomation(FMLJavaModLoadingContext context) {...}", and I can't use the default constructor because I need the FMLJavaModLoadingContext to register the blocks and items. The problem is at: "net/myself/zerotoautomation/ZeroToAutomation.java" the file contains the default constructor, "Logger"s, and the code for the mod the defaut constructor was added after an error requesting it the Loggers was used to see which methods/constructors was used by the Launcher things that I tried to fix the issue: remove the default constructor, but an error appeared "net.myself.zerotoautomation.ZeroToAutomation.<init>()", and nothing else on the class runs adding an "public static void init()" method, but it changed nothing The mod files: https://github.com/Matwaua/Zero_To_Automation/tree/not-finished
  2. i dont know how to close the topic, so it will remain open until someone does it for me
  3. solved: it was in the wrong folder: it needs to be at "resources/data/modID/loot_tables/blocks" the gravel loot table was wrong: I wrote "minecraft:andesite_gravel" instead of "zerotoautomation:andesite_gravel"
  4. I am following a tutorial at youtube and at the part where it is made loot tables for block drops, it dosn't work for me, the blocks that I made dosn't drop anything in survival, everything else works as intended, the link is the git hub repository for the code https://github.com/Matwaua/Zero_To_Automation/tree/not-finished things that I tried: exploding the modded blocks; removing blocks/ from " "random_sequence": "zerotoautomation:blocks/fertilized_dirt" " coping the loot table from another equivalent block, like dirt for fertilized dirt and gravel for andesite gravel using "random_sequence" from another equivalent block

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.