[1.9] registering blocks/items in 1.9[SOLVED]
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
I downloaded a Modpack from a Youtuber and it works fine on multiplayer worlds. When I try to create or join a singleplayer world my Minecraft loads onto a dirt screen and crashes. It then shows error code 6 in the launcher. Im using the CurseForge launcher on 1.20.1 forge on Mac. https://paste.ee/p/KOh9MyyZ#section0
-
You should be able to browse the available classes within net.minecraftforge.client.event through your IDE. You can also look on github at https://github.com/MinecraftForge/MinecraftForge/tree/1.21.x/src/main/java/net/minecraftforge/client/event
-
By IDKJustAGuy · Posted
Hello various people more in tune with Curse Forge than me, I don't know what's wrong, help? https://pastebin.com/iZPUU7xb -
Hi, guys, is there any way to auto-grant a root advancement whenever the player logs in? I've tried using minecraft:tick and InventoryChangeTrigger, but the first one doesn't work, and the second one doesn't guarantee a log-in-grant. I'm using 1.20.1 public class ModAdvancementGenerator implements ForgeAdvancementProvider.AdvancementGenerator { @Override public void generate(HolderLookup.Provider registries, Consumer<Advancement> saver, ExistingFileHelper existingFileHelper) { // Define a root advancement. Advancement root = Advancement.Builder.advancement() .display( ModItems.COMPRESSED_DIAMOND.get(), // Icon Component.literal("Compressed"), // Title Component.literal("Explore Compressed tools and armor!"), // Description new ResourceLocation("compressed","textures/block/compressed_diamond_block.png"), // Background image (null if not used) FrameType.TASK, // Frame type (TASK, GOAL, or CHALLENGE) true, // Show toast? true, // Announce in chat? false // Hidden? ) /* .addCriterion("tick", new InventoryChangeTrigger.TriggerInstance()); ????????????????????????????????????????????????????? */ // Notice we now pass the advancement ID as a string (the path part) plus the existingFileHelper. .save(saver, new ResourceLocation("compressed","compressed_root_advancement"), existingFileHelper); } }
-
By Jeremy Quann · Posted
Hey. This is gohken speaking. I'm kinda having trouble with wolves attacking deer (ServerEvents works but I think it's kinda stupid) Could anyone try to fix the Mixin code for me? Thanks!
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.