[SOLVED][1.8] Centering GUI Texture
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
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! -
By boxofghost · Posted
I appreciate the help, but I can't seem to figure out how. Every drive I've installed through the website says it cant install with my device, even after watching several tutorials. Trying to update via system just says I have the best ones already installed. I'm using Intel(R) Graphics 530. -
Thank you I had not realised that. I found that restarting my pc for the 6th time made it work
-
This is a fabric log, not a forge log. You would probably have better results asking for support where fabric support is given.
-
-
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.