Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.16.5] Custom minecart overrides are not working


J3ramy
 Share

Recommended Posts

Hey guys,

I'm working on a new project where I have to create custom minecarts.

The cart shouldn't move when pushed by an entity. So, I did this:

Spoiler
@Override
    public boolean canBePushed() {
        return false;
    }

 

The custom cart will be initialized and I can place it on a rail. But the override doesn't work.

Further, I want to set the max speed of the cart, which is hard coded in the AbstractMinecartEntity. Can I change it?

 

This is the rest of my code:

TestCart

Spoiler
public class TestCart extends MinecartEntity {


    public TestCart(EntityType<?> type, World world) {
        super(type, world);
    }

    @Override
    public Type getMinecartType() {
        return Type.RIDEABLE;
    }

    @Override
    public boolean canBePushed() {
        return false;
    }


}

 

Register Cart

Spoiler
public class ModEntityTypes {
    public  static DeferredRegister<EntityType<?>> ENTITY_TYPES = DeferredRegister.create(ForgeRegistries.ENTITIES, EdomMod.MOD_ID);

    public static final RegistryObject<EntityType<TestCart>> TEST_CART = ENTITY_TYPES.register(("test_cart"), () -> EntityType.Builder.create(TestCart::new, EntityClassification.MISC).size(1f, 1f).build(new ResourceLocation(EdomMod.MOD_ID, "test_cart").toString()));

    public static void register(IEventBus eventBus){
        ENTITY_TYPES.register(eventBus);
    }
}

 

 

Link to comment
Share on other sites

Posted (edited)
28 minutes ago, J3ramy said:

The custom cart will be initialized and I can place it on a rail. But the override doesn't work.

there was a thread with the same problem, unfortunately i'm not be able to find this thread and I can't remember the solution
see next post

28 minutes ago, J3ramy said:

Further, I want to set the max speed of the cart, which is hard coded in the AbstractMinecartEntity. Can I change it?

override #getMaxCartSpeedOnRail, and return the speed you want

Edited by Luis_ST
Link to comment
Share on other sites

24 minutes ago, J3ramy said:

The custom cart will be initialized and I can place it on a rail. But the override doesn't work.

you need to override #applyEntityCollision and #addVelocity and remove the super call

Link to comment
Share on other sites

Thanks for your reply.

Sadly, none of above works. Neither the max speed nor the collision.

Did I miss something?:

public class TestCart extends MinecartEntity {

    public TestCart(EntityType<?> type, World world) {
        super(type, world);
    }

    @Override
    public Type getMinecartType() {
        return Type.RIDEABLE;
    }

    @Override
    public boolean canBePushed() {
        return false;
    }

    @Override
    public void applyEntityCollision(Entity entity) {
        
    }

    @Override
    public void addVelocity(double x, double y, double z) {
        
    }

    @Override
    public float getMaxCartSpeedOnRail() {
        return 1f;
    }
}

 

Link to comment
Share on other sites

Quote

this should work, note the default speed of the normale Minecart is 1.2F

I set it to .1f and there's no change

Quote

how did you test it?

I walked against the cart and it moved.

I built a test environment as well (see here). Left = custom, Right = default cart

Link to comment
Share on other sites

Posted (edited)

I also send my cart item. Maybe there's an error in it.

Item register

Spoiler
public static final RegistryObject<Item> TEST_CART = ITEMS.register("test_cart", 
() -> new TestCartItem(AbstractMinecartEntity.Type.RIDEABLE, new Item.Properties().group(ModItemGroup.EDOM_SAFETY_GROUP).maxStackSize(1)));

Cart item

Spoiler
public class TestCartItem extends MinecartItem {
    public TestCartItem(AbstractMinecartEntity.Type type, Item.Properties properties) {
        super(type, properties);
    }
}

EDIT: I tried to debug to the console in the constructor of TestCart but it seems like the constructor is not called. So, I guess I made a mistake within the item?

Edited by J3ramy
Link to comment
Share on other sites

My cart now gets created (Debug in constructor of TestCartEntity)

But the cart is not visible.

Here's my code:

 

Cart entity

Spoiler
public class TestCartEntity extends AbstractMinecartEntity {

    public TestCartEntity(EntityType<?> type, World world, double x, double y, double z) {
        super(type, world);
        System.out.println("CREATED");
    }

    @Override
    public IPacket<?> createSpawnPacket() {
        return NetworkHooks.getEntitySpawningPacket(this);
    }

    @Override
    public Type getMinecartType() {
        return Type.RIDEABLE;
    }

    @Override
    public EntitySize getSize(Pose p_213305_1_) {
        return new EntitySize(0.98F, 0.7F, true);
    }

    @Override
    public boolean canBePushed() {
        return false;
    }

    @Override
    public void applyEntityCollision(Entity entity) {

    }

    @Override
    public void addVelocity(double x, double y, double z) {

    }

    @Override
    public float getMaxCartSpeedOnRail() {
        return .1f;
    }
}

 

Renderer

Spoiler
public class TestCartRenderer<T extends TestCartEntity> extends MinecartRenderer<T> {

    private static final ResourceLocation TEXTURE_LOC = new ResourceLocation(EdomMod.MOD_ID,"minecraft:textures/entity/minecart.png");

    public TestCartRenderer(EntityRendererManager manager) {
        super(manager);
    }

    @Override
    public ResourceLocation getEntityTexture(T p_110775_1_) {
        return TEXTURE_LOC;
    }
}

 

Cart item

Spoiler
public class TestCartItem extends Item {

    private final EntityType<?> cartType;

    public TestCartItem(EntityType<?> type, Item.Properties properties) {
        super(properties);
        this.cartType = type;
    }

    @Override
    public ActionResultType onItemUse(ItemUseContext context) {
        World world = context.getWorld();
        BlockPos blockpos = context.getPos();
        BlockState blockstate = world.getBlockState(blockpos);

        if (!blockstate.isIn(BlockTags.RAILS)) {
            return ActionResultType.FAIL;
        } else {
            ItemStack itemstack = context.getItem();

            if (!world.isRemote) {
                RailShape railshape = blockstate.getBlock() instanceof AbstractRailBlock ? ((AbstractRailBlock) blockstate.getBlock()).getRailDirection(blockstate, world, blockpos, null) : RailShape.NORTH_SOUTH;
                double yOffset = 0.0D;

                if (railshape.isAscending()) {
                    yOffset = 0.5D;
                }

                TestCartEntity cart = new TestCartEntity(this.cartType, world, (double) blockpos.getX() + 0.5D, (double) blockpos.getY() + 0.0625D + yOffset, (double) blockpos.getZ() + 0.5D);

                if (itemstack.hasDisplayName()) {
                    cart.setCustomName(itemstack.getDisplayName());
                }

                world.addEntity(cart);
            }

            itemstack.shrink(1);
            return ActionResultType.func_233537_a_(world.isRemote);
        }
    }
}

 

Register

Spoiler
private static final DeferredRegister<EntityType<?>> ENTITIES = DeferredRegister.create(ForgeRegistries.ENTITIES, EdomMod.MOD_ID);

    public static final RegistryObject<EntityType<?>> TEST_CART = ENTITIES.register("test_cart",
            () -> EntityType.Builder.create(EntityClassification.MISC).setTrackingRange(8).build("test_cart"));

    public static void register(IEventBus eventBus) {
        ENTITIES.register(eventBus);
    }

 

Mod class

Spoiler
RenderingRegistry.registerEntityRenderingHandler((EntityType<TestCartEntity>)ModEntityTypes.TEST_CART.get(), TestCartRenderer::new);

 

 

Link to comment
Share on other sites

I changed it to follwing and added the texture

private static final ResourceLocation TEXTURE_LOC = new ResourceLocation(EdomMod.MOD_ID,"textures/entity/minecart.png");

 

But it is still not working. When I right click, it debugs the constructor, but I can go through it and it's not visible... It acts like it is not getting created

Link to comment
Share on other sites

1 minute ago, J3ramy said:

I noticed that the VCS skipped the utils folder.

No, you specifically removed it from your repository in a commit...

You are using EntityType.MINECART when spawning, which is the vanilla minecart type. You need to make your own EntityType.

Link to comment
Share on other sites

That makes sense.

Now I changed the ModItems.java to this:

Spoiler
private static final EntityType<TestCartEntity> TEST_CART_ENTITY_TYPE = Registry.register(Registry.ENTITY_TYPE, "test_cart", EntityType.Builder.<TestCartEntity>create(TestCartEntity::new, EntityClassification.MISC).size(0.98F, 0.7F));
    public static final RegistryObject<Item> TEST_CART = ITEMS.register("test_cart", () -> new TestCartItem(TEST_CART_ENTITY_TYPE, new Item.Properties().group(ModItemGroup.EDOM_SAFETY_GROUP).maxStackSize(1)));

 

But there's an error: Cannot resolve method 'register(DefaultedRegistry<EntityType<?>>, String, Builder<TestCartEntity>)'

I used the EntityType-class as a reference.

Link to comment
Share on other sites

Quote

You need to use DeferredRegister for all registrations.

I use now TEST_CART.get() from ModEntityTypes for the item registration (I assume this is the Custom Entity Type):

Spoiler
public static final RegistryObject<Item> TEST_CART = ITEMS.register("test_cart", () -> new TestCartItem(ModEntityTypes.TEST_CART.get(), new Item.Properties().group(ModItemGroup.EDOM_SAFETY_GROUP).maxStackSize(1)));

 

No compile errors but one runtime error:

Spoiler

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 18.05.22 21:17
Description: Mod loading error has occurred

java.lang.Exception: Mod Loading has failed
    at net.minecraftforge.fml.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:85) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.fml.client.ClientModLoader.completeModLoading(ClientModLoader.java:188) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:513) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.util.Util.acceptOrElse(Util.java:323) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:509) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.ResourceLoadProgressGui.render(ResourceLoadProgressGui.java:113) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:493) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1003) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.run(Minecraft.java:612) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332] {}
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332] {}
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {}
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:108) [forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at java.util.Objects.requireNonNull(Objects.java:290) ~[?:1.8.0_332] {}
-- MOD edom --
Details:
    Mod File: main
    Failure message: Edom Mod (edom) encountered an error during the load_registries event phase
        java.lang.NullPointerException: Registry Object not present: edom:test_cart
    Mod Version: 1.16.5
    Mod Issue URL: NOT PROVIDED
    Exception message: java.lang.NullPointerException: Registry Object not present: edom:test_cart

Stacktrace:
    at java.util.Objects.requireNonNull(Objects.java:290) ~[?:1.8.0_332] {}
    at net.minecraftforge.fml.RegistryObject.get(RegistryObject.java:120) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at de.j3ramy.edom.item.ModItems.lambda$static$15(ModItems.java:40) ~[main/:?] {re:classloading}
    at net.minecraftforge.registries.DeferredRegister.lambda$register$0(DeferredRegister.java:124) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.registries.DeferredRegister.addEntries(DeferredRegister.java:200) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.registries.DeferredRegister.access$000(DeferredRegister.java:61) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.registries.DeferredRegister$EventDispatcher.handleEvent(DeferredRegister.java:172) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_2_EventDispatcher_handleEvent_Register.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:36.2] {re:classloading}
    at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) ~[?:1.8.0_332] {}
    at net.minecraftforge.fml.ModWorkManager$SyncExecutor.driveOne(ModWorkManager.java:56) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.fml.ModWorkManager$DrivenExecutor.drive(ModWorkManager.java:40) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:249) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:236) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:202) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$1(ClientModLoader.java:103) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:103) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:442) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:149) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332] {}
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332] {}
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {}
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:108) [forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {}


-- System Details --
Details:
    Minecraft Version: 1.16.5
    Minecraft Version ID: 1.16.5
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_332, Temurin
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Temurin
    Memory: 1128331320 bytes (1076 MB) / 1719664640 bytes (1640 MB) up to 3679977472 bytes (3509 MB)
    CPUs: 16
    JVM Flags: 2 total; -XX:+IgnoreUnrecognizedVMOptions -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
    ModLauncher: 8.1.3+8.1.3+main-8.1.x.c94d18ec
    ModLauncher launch target: fmluserdevclient
    ModLauncher naming: mcp
    ModLauncher services:
        /mixin-0.8.4.jar mixin PLUGINSERVICE
        /eventbus-4.0.0.jar eventbus PLUGINSERVICE
        /forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-launcher.jar object_holder_definalize PLUGINSERVICE
        /forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-launcher.jar runtime_enum_extender PLUGINSERVICE
        /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
        /forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-launcher.jar capability_inject_definalize PLUGINSERVICE
        /forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-launcher.jar runtimedistcleaner PLUGINSERVICE
        /mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE
        /forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16.5-launcher.jar fml TRANSFORMATIONSERVICE
    FML: 36.2
    Forge: net.minecraftforge:36.2.34
    FML Language Providers:
        javafml@36.2
        minecraft@1
    Mod List:
        client-extra.jar                                  |Minecraft                     |minecraft                     |1.16.5              |COMMON_SET|Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
        main                                              |Edom Mod                      |edom                          |1.16.5              |VALIDATE  |Manifest: NOSIGNATURE
        forge-1.16.5-36.2.34_mapped_snapshot_20210309-1.16|Forge                         |forge                         |36.2.34             |COMMON_SET|Manifest: NOSIGNATURE
    Crash Report UUID: ba4d8a03-0ed5-496b-b292-84533288c6d6

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Meant to follow up on this, but I discovered that brewing recipes can also be registered to BrewingRecipeRegistry vs trying to swap out textures for potions. I was only familiar with the reflection method, but it's neat that there's two ways. Doesn't address the original problem, but code below for future visitors: Registry: private static void commonSetup(FMLCommonSetupEvent event) { event.enqueueWork(() -> { ModEffects.addBrews1(); }); ModEffects.addBrews2(); } Methods: public class ModEffects extends Effects { public static final DeferredRegister<Effect> EFFECTS = DeferredRegister.create(ForgeRegistries.POTIONS, Main.MOD_ID); public static final DeferredRegister<Potion> POTIONS = DeferredRegister.create(ForgeRegistries.POTION_TYPES, Main.MOD_ID); public static RegistryObject<Effect> MY_EFFECT = EFFECTS.register("my_effect", MyEffect::new); public static final RegistryObject<Potion> MY_POTION = POTIONS.register("my_potion", () -> new Potion(new EffectInstance(MY_EFFECT.get(), 1))); // Method 1 public static void addBrews1() { BrewingRecipeRegistry.addRecipe(Ingredient.of(ModItems.INPUT_ITEM), Ingredient.of(ModItems.INGREDIENT_ITEM), new ItemStack(ModItems.OUTPUT_ITEM)); } // Method 2 (vanilla-style, adds splash, lingering, and arrow variants) private static Method brewing_mixes; private static void addMix(Potion start, Item ingredient, Potion result) { if (brewing_mixes == null) { brewing_mixes = ObfuscationReflectionHelper.findMethod(PotionBrewing.class, "addMix", Potion.class, Item.class, Potion.class); brewing_mixes.setAccessible(true); } try { brewing_mixes.invoke(null, start, ingredient, result); } catch(IllegalAccessException | IllegalArgumentException | InvocationTargetException e) { e.printStackTrace(); } } public static void addBrews2() { addMix(Potions.AWKWARD, ModItems.INGREDIENT_ITEM, MY_POTION.get()); } }  
    • There is no such event on the client side. See this old discussion: https://forums.minecraftforge.net/topic/66022-playereventplayerloggedinevent-doesnt-work/ for a workaround. Basically you can detect when a player enters a dimension.
    • Hi. I need help creating my custom modpack. I know the basics of errors and how to solve them but i couldnt figure this one out. Could anyone please help? Heres the log: 21:30:55] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.14.8 [21:30:56] [ForkJoinPool-1-worker-7/WARN]: Mod bcc uses the version fabric-1.0.5 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'fabric'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-3/WARN]: Mod bowinfinityfix uses the version rv11 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'rv11'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-11/WARN]: Mod create uses the version mc1.18.2_v0.4.1+637 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'mc1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-10/WARN]: The mod "dwarfcoal" contains invalid entries in its mod json: - Unsupported root entry "side" at line 16 column 9 [21:30:56] [ForkJoinPool-1-worker-2/WARN]: Mod dungeons_arise uses the version 2.1.49d-fabric which isn't compatible with Loader's extended semantic version format (Could not parse version number component '49d'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-12/WARN]: The mod "extra_classes_origins" contains invalid entries in its mod json: - Unsupported root entry "pack_format" at line 14 column 18 [21:30:56] [ForkJoinPool-1-worker-3/WARN]: Mod extremesoundmuffler uses the version 3.27_fabric-1.18.1 which isn't compatible with Loader's extended semantic version format (Could not parse version number component '27_fabric'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-6/WARN]: Mod registrate-fabric uses the version MC1.18.2-1.0.3 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'MC1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-5/WARN]: Mod mavm uses the version 1.0.8a which isn't compatible with Loader's extended semantic version format (Could not parse version number component '8a'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-4/WARN]: Mod soaringstructures2 uses the version 1.18.2 - 2.3.1 which isn't compatible with Loader's extended semantic version format (Invalid prerelease string ' 2.3.1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [ForkJoinPool-1-worker-6/WARN]: The mod "thonkutil-customization-v1" contains invalid entries in its mod json: - Unsupported root entry "disabled:mixins" at line 11 column 20 [21:30:56] [ForkJoinPool-1-worker-3/WARN]: Mod xps uses the version 0.4.1.r_for_1.18.x_Fabric which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'r_for_1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [21:30:56] [main/WARN]: Warnings were found!  - Mod 'Glassential' (glassential) 1.3.0 recommends version 0.18.0-alpha or later of mesh, which is missing!      - You should install version 0.18.0-alpha or later of mesh for the optimal experience.  - Mod 'Omega Config GUI' (omega-config-gui) 1.2.3-1.18.1 recommends version 3.0.1 of mod 'Mod Menu' (modmenu), but only the wrong version is present: 3.2.3!      - You should install version 3.0.1 of mod 'Mod Menu' (modmenu) for the optimal experience.  - Mod 'Overloaded Armor Bar' (overloadedarmorbar) 1.18.1-6 recommends version 1.1.7 or later of modupdater, which is missing!      - You should install version 1.1.7 or later of modupdater for the optimal experience. [21:30:56] [main/INFO]: Loading 561 mods: (mods here) [21:30:57] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/HP/curseforge/minecraft/Install/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT [21:30:57] [main/INFO]: Compatibility level set to JAVA_16 [21:30:57] [main/INFO]: Compatibility level set to JAVA_17 [21:30:57] [main/WARN]: Reference map 'Applied-Botanics-refmap.json' for appbot.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/WARN]: Reference map 'axolotl-item-fix-refmap.json' for axolotlitemfix.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/WARN]: Reference map 'chimes-refmap.json' for chimes.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/WARN]: Reference map 'dual_riders-1.18.2-1.1.1-fabric-refmap.json' for dual_riders-fabric.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/WARN]: Reference map 'fabric-experiencebugfix-1.18-refmap.json' for experiencebugfix.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/WARN]: Reference map 'Floral-Flair-refmap.json' for floral_flair.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/WARN]: Reference map 'goodall-fabric-refmap.json' for goodall.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/WARN]: Reference map 'JamLib-refmap.json' for jamlib.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:57] [main/INFO]: Loaded configuration file for Lithium: 102 options available, 2 override(s) found [21:30:57] [main/WARN]: Reference map 'medievalmusic-fabric-refmap.json' for medievalmusic.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'Modern-Dynamics-refmap.json' for moderndynamics.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'morevillagers-fabric-fabric-refmap.json' for morevillagers.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'Peripheralium-refmap.json' for peripheralium.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'peripheralworks-refmap.json' for peripheralworks.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'probablychests-refmap.json' for probablychests.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'replanter-fabric-1.18.2-refmap.json' for replanter.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: [Satin] Sodium is present, custom block renders may not work [21:30:58] [main/INFO]: Loaded configuration file for Sodium: 29 options available, 1 override(s) found [21:30:58] [main/WARN]: Reference map 'transparent-fabric-refmap.json' for transparent.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'yungsbridges.refmap.json' for yungsbridges.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'yungsbridges.refmap.json' for yungsbridges_fabric.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'yungsextras.refmap.json' for yungsextras.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:58] [main/WARN]: Reference map 'yungsextras.refmap.json' for yungsextras_fabric.mixins.json could not be read. If this is a development environment you can ignore this message [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.MixinMinecraft | TO TARGET: net.minecraft.class_310 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.MixinScreen | TO TARGET: net.minecraft.class_437 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.MixinMouseHandler | TO TARGET: net.minecraft.class_312 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.MixinGameRenderer | TO TARGET: net.minecraft.class_757 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.MixinKeyboardHandler | TO TARGET: net.minecraft.class_309 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.MixinScreenEvents | TO TARGET: net.fabricmc.fabric.api.client.screen.v1.ScreenEvents [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.IMixinKeyboardHandler | TO TARGET: net.minecraft.class_309 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.IMixinEditBox | TO TARGET: net.minecraft.class_342 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.IMixinAbstractWidget | TO TARGET: net.minecraft.class_339 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.IMixinMouseHandler | TO TARGET: net.minecraft.class_312 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.IMixinClientLanguage | TO TARGET: net.minecraft.class_1078 [21:30:59] [main/INFO]: APPLYING MIXIN: de.keksuccino.konkrete.mixin.mixins.client.IMixinDynamicTexture | TO TARGET: net.minecraft.class_1043 [21:30:59] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children [21:30:59] [main/WARN]: Force-disabling mixin 'world.player_chunk_tick.ThreadedAnvilChunkStorageMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [immersive_portals]) disables it and children [21:30:59] [main/WARN]: Error loading class: net/minecraft/class_5382 (java.lang.ClassNotFoundException: net/minecraft/class_5382) [21:30:59] [main/WARN]: @Mixin target net.minecraft.class_5382 was not found no_null_processors.mixins.json:RegistryReadOpsMixin from mod no_null_processors [21:30:59] [main/WARN]: Force-disabling mixin 'features.sky.MixinWorldRenderer' as rule 'mixin.features.sky' (added by mods [iris]) disables it and children [21:31:00] [main/WARN]: Error loading class: net/coderbot/iris/layer/IrisRenderTypeWrapper (java.lang.ClassNotFoundException: net/coderbot/iris/layer/IrisRenderTypeWrapper) [21:31:00] [main/WARN]: @Mixin target net.coderbot.iris.layer.IrisRenderTypeWrapper was not found mixins.satin.client.json:iris.IrisRenderLayerWrapperMixin from mod satin [21:31:00] [main/WARN]: Error loading class: net/minecraft/class_3494$class_5123 (java.lang.ClassNotFoundException: net/minecraft/class_3494$class_5123) [21:31:00] [main/INFO]: I used the json to destroy the json [21:31:00] [main/INFO]: Trying to switch memory allocators to work around memory leaks present with Jemalloc 5.0.0 through 5.2.0 on Windows [21:31:00] [main/WARN]: Configuration conflict: there is more than one oshi.properties file on the classpath [21:31:01] [main/WARN]: Configuration conflict: there is more than one oshi.architecture.properties file on the classpath [21:31:01] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=2 on dripstone_fluid_lib.mixins.json:MinecraftClientMixin from mod dripstone_fluid_lib::handler$dmm000$dripstone_fluid_lib$handleParticles exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning. [21:31:02] [main/WARN]: Error loading class: org/spongepowered/asm/synthetic/args/Args$2 (java.lang.ClassNotFoundException: org/spongepowered/asm/synthetic/args/Args$2) [21:31:02] [main/WARN]: Error loading class: org/spongepowered/asm/synthetic/args/Args$2 (java.lang.ClassNotFoundException: org/spongepowered/asm/synthetic/args/Args$2) [21:31:02] [main/WARN]: Error loading class: net/minecraft/class_3494$class_5123 (java.lang.ClassNotFoundException: net/minecraft/class_3494$class_5123) [21:31:02] [main/ERROR]: Minecraft has crashed! net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1309 failed     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:463) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.8.jar:?] Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1309 failed     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:419) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at vazkii.patchouli.client.handler.BookCrashHandler.appendToCrashReport(BookCrashHandler.java:23) ~[Patchouli-1.18.2-71.1-FABRIC.jar:?]     at net.minecraft.class_6396.handler$iep000$patchouli_addContext(class_6396.java:1516) ~[client-intermediary.jar:?]     at net.minecraft.class_6396.<init>(class_6396.java:57) ~[client-intermediary.jar:?]     at net.minecraft.class_128.<init>(class_128.java:32) ~[client-intermediary.jar:?]     at net.minecraft.class_128.method_24305(class_128.java:272) ~[client-intermediary.jar:?]     at net.minecraft.client.main.Main.main(Main.java:151) ~[fabric-loader-0.14.8-1.18.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.8.jar:?]     ... 2 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:414) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at vazkii.patchouli.client.handler.BookCrashHandler.appendToCrashReport(BookCrashHandler.java:23) ~[Patchouli-1.18.2-71.1-FABRIC.jar:?]     at net.minecraft.class_6396.handler$iep000$patchouli_addContext(class_6396.java:1516) ~[client-intermediary.jar:?]     at net.minecraft.class_6396.<init>(class_6396.java:57) ~[client-intermediary.jar:?]     at net.minecraft.class_128.<init>(class_128.java:32) ~[client-intermediary.jar:?]     at net.minecraft.class_128.method_24305(class_128.java:272) ~[client-intermediary.jar:?]     at net.minecraft.client.main.Main.main(Main.java:151) ~[fabric-loader-0.14.8-1.18.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.8.jar:?]     ... 2 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinPreProcessorException: Attach error for twm.mixins.json:LivingEntityMixin from mod twm during activity: [Transform -> Method updatePostDeath(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> INVOKEINTERFACE -> net/minecraft/class_3494$class_5123::method_15141:(Ljava/lang/Object;)Z]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:313) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:277) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1289) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:414) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at vazkii.patchouli.client.handler.BookCrashHandler.appendToCrashReport(BookCrashHandler.java:23) ~[Patchouli-1.18.2-71.1-FABRIC.jar:?]     at net.minecraft.class_6396.handler$iep000$patchouli_addContext(class_6396.java:1516) ~[client-intermediary.jar:?]     at net.minecraft.class_6396.<init>(class_6396.java:57) ~[client-intermediary.jar:?]     at net.minecraft.class_128.<init>(class_128.java:32) ~[client-intermediary.jar:?]     at net.minecraft.class_128.method_24305(class_128.java:272) ~[client-intermediary.jar:?]     at net.minecraft.client.main.Main.main(Main.java:151) ~[fabric-loader-0.14.8-1.18.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.8.jar:?]     ... 2 more Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: net.minecraft.class_3494$class_5123     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMemberReference(MixinPreProcessorStandard.java:783) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:769) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:735) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:307) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:277) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1289) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:414) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at vazkii.patchouli.client.handler.BookCrashHandler.appendToCrashReport(BookCrashHandler.java:23) ~[Patchouli-1.18.2-71.1-FABRIC.jar:?]     at net.minecraft.class_6396.handler$iep000$patchouli_addContext(class_6396.java:1516) ~[client-intermediary.jar:?]     at net.minecraft.class_6396.<init>(class_6396.java:57) ~[client-intermediary.jar:?]     at net.minecraft.class_128.<init>(class_128.java:32) ~[client-intermediary.jar:?]     at net.minecraft.class_128.method_24305(class_128.java:272) ~[client-intermediary.jar:?]     at net.minecraft.client.main.Main.main(Main.java:151) ~[fabric-loader-0.14.8-1.18.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.8.jar:?]     ... 2 more Caused by: java.lang.ClassNotFoundException: net.minecraft.class_3494$class_5123     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMemberReference(MixinPreProcessorStandard.java:783) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:769) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:735) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:307) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:277) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1289) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:414) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]     at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:186) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:347) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.8.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]     at vazkii.patchouli.client.handler.BookCrashHandler.appendToCrashReport(BookCrashHandler.java:23) ~[Patchouli-1.18.2-71.1-FABRIC.jar:?]     at net.minecraft.class_6396.handler$iep000$patchouli_addContext(class_6396.java:1516) ~[client-intermediary.jar:?]     at net.minecraft.class_6396.<init>(class_6396.java:57) ~[client-intermediary.jar:?]     at net.minecraft.class_128.<init>(class_128.java:32) ~[client-intermediary.jar:?]     at net.minecraft.class_128.method_24305(class_128.java:272) ~[client-intermediary.jar:?]     at net.minecraft.client.main.Main.main(Main.java:151) ~[fabric-loader-0.14.8-1.18.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.8.jar:?]     ... 2 more  
    • Thanks for that! But I also need to subscribe to the event when the player joins the server, what is the event called and how do I subscribe to it?  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.