Jump to content

Game crashed


Konweg

Recommended Posts

Okay so here is my problem... I was playing with mods (with fabric) and my game keep crashing, at the first time it takes 5-10 minutes but then when I join the game, I crash instantly...

if anyone can find the problem ... here is the crash_report

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 2022-12-11 12:44:17
Description: Rendering entity in world

java.lang.NoSuchFieldError: animationLength
    at com.yahoo.chirpycricket.mythicmounts.entity.ai.MountAnimationManager.idleAnimationPredicate(MountAnimationManager.java:136)
    at software.bernie.geckolib3.core.controller.AnimationController.testAnimationPredicate(AnimationController.java:542)
    at software.bernie.geckolib3.core.controller.AnimationController.process(AnimationController.java:409)
    at software.bernie.geckolib3.core.processor.AnimationProcessor.tickAnimation(AnimationProcessor.java:69)
    at software.bernie.geckolib3.model.AnimatedGeoModel.setCustomAnimations(AnimatedGeoModel.java:93)
    at software.bernie.geckolib3.model.AnimatedGeoModel.setLivingAnimations(AnimatedGeoModel.java:53)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.model.AnimatedLivingEntityModel.setLivingAnimations(AnimatedLivingEntityModel.java:124)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.model.AnimatedLivingEntityModel.setLivingAnimations(AnimatedLivingEntityModel.java:10)
    at software.bernie.geckolib3.renderers.geo.GeoEntityRenderer.render(GeoEntityRenderer.java:192)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.entity.MountRenderer.render(MountRenderer.java:53)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.entity.MountRenderer.method_3936(MountRenderer.java:23)
    at net.minecraft.class_898.method_3954(class_898.java:184)
    at net.minecraft.class_761.method_22977(class_761.java:2292)
    at net.minecraft.class_761.method_22710(class_761.java:1849)
    at net.minecraft.class_757.method_3188(class_757.java:1577)
    at net.minecraft.class_757.method_3192(class_757.java:1191)
    at net.minecraft.class_310.method_1523(class_310.java:1177)
    at net.minecraft.class_310.method_1514(class_310.java:768)
    at net.minecraft.client.main.Main.method_44604(Main.java:244)
    at net.minecraft.client.main.Main.main(Main.java:51)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)


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

-- Head --
Thread: Render thread
Stacktrace:
    at com.yahoo.chirpycricket.mythicmounts.entity.ai.MountAnimationManager.idleAnimationPredicate(MountAnimationManager.java:136)
    at software.bernie.geckolib3.core.controller.AnimationController.testAnimationPredicate(AnimationController.java:542)
    at software.bernie.geckolib3.core.controller.AnimationController.process(AnimationController.java:409)
    at software.bernie.geckolib3.core.processor.AnimationProcessor.tickAnimation(AnimationProcessor.java:69)
    at software.bernie.geckolib3.model.AnimatedGeoModel.setCustomAnimations(AnimatedGeoModel.java:93)
    at software.bernie.geckolib3.model.AnimatedGeoModel.setLivingAnimations(AnimatedGeoModel.java:53)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.model.AnimatedLivingEntityModel.setLivingAnimations(AnimatedLivingEntityModel.java:124)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.model.AnimatedLivingEntityModel.setLivingAnimations(AnimatedLivingEntityModel.java:10)
    at software.bernie.geckolib3.renderers.geo.GeoEntityRenderer.render(GeoEntityRenderer.java:192)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.entity.MountRenderer.render(MountRenderer.java:53)
    at com.yahoo.chirpycricket.mythicmounts.client.renderer.entity.MountRenderer.method_3936(MountRenderer.java:23)
    at net.minecraft.class_898.method_3954(class_898.java:184)
    at net.minecraft.class_761.method_22977(class_761.java:2292)
    at net.minecraft.class_761.method_22710(class_761.java:1849)
    at net.minecraft.class_757.method_3188(class_757.java:1577)

-- Entity being rendered --
Details:
    Entity Type: mythicmounts:geckotoalizard (com.yahoo.chirpycricket.mythicmounts.entity.mounts.GroundLizardEntity)
    Entity ID: 107
    Entity Name: Giant Geckotoa
    Entity's Exact location: 102.50, 71.00, -797.50
    Entity's Block location: World: (102,71,-798), Section: (at 6,7,2 in 6,4,-50; chunk contains blocks 96,-64,-800 to 111,319,-785), Region: (0,-2; contains chunks 0,-64 to 31,-33, blocks 0,-64,-1024 to 511,319,-513)
    Entity's Momentum: 0.00, 0.00, 0.00
    Entity's Passengers: []
    Entity's Vehicle: null
Stacktrace:
    at net.minecraft.class_898.method_3954(class_898.java:184)
    at net.minecraft.class_761.method_22977(class_761.java:2292)
    at net.minecraft.class_761.method_22710(class_761.java:1849)
    at net.minecraft.class_757.method_3188(class_757.java:1577)
    at net.minecraft.class_757.method_3192(class_757.java:1191)
    at net.minecraft.class_310.method_1523(class_310.java:1177)
    at net.minecraft.class_310.method_1514(class_310.java:768)
    at net.minecraft.client.main.Main.method_44604(Main.java:244)
    at net.minecraft.client.main.Main.main(Main.java:51)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Renderer details --
Details:
    Assigned renderer: com.yahoo.chirpycricket.mythicmounts.client.renderer.entity.MountRenderer@4370463
    Location: 90.40,-47.62,-19.29 - World: (90,-48,-20), Section: (at 10,0,12 in 5,-3,-2; chunk contains blocks 80,-64,-32 to 95,319,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
    Rotation: -156.09375
    Delta: 0.8600247
Stacktrace:
    at net.minecraft.class_898.method_3954(class_898.java:184)
    at net.minecraft.class_761.method_22977(class_761.java:2292)
    at net.minecraft.class_761.method_22710(class_761.java:1849)
    at net.minecraft.class_757.method_3188(class_757.java:1577)
    at net.minecraft.class_757.method_3192(class_757.java:1191)
    at net.minecraft.class_310.method_1523(class_310.java:1177)
    at net.minecraft.class_310.method_1514(class_310.java:768)
    at net.minecraft.client.main.Main.method_44604(Main.java:244)
    at net.minecraft.client.main.Main.main(Main.java:51)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Affected level --
Details:
    All players: 1 total; [class_746['Konweg_Z'/195, l='ClientLevel', x=12.10, y=117.00, z=-778.21]]
    Chunk stats: 1369, 921
    Level dimension: minecraft:overworld
    Level spawn location: World: (11,119,-788), Section: (at 11,7,12 in 0,7,-50; chunk contains blocks 0,-64,-800 to 15,319,-785), Region: (0,-2; contains chunks 0,-64 to 31,-33, blocks 0,-64,-1024 to 511,319,-513)
    Level time: 25015 game time, 25015 day time
    Server brand: fabric
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.class_638.method_8538(class_638.java:580)
    at net.minecraft.class_310.method_1587(class_310.java:2341)
    at net.minecraft.class_310.method_1514(class_310.java:787)
    at net.minecraft.client.main.Main.method_44604(Main.java:244)
    at net.minecraft.client.main.Main.main(Main.java:51)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: Default, Fabric Mods

-- System Details --
Details:
    Minecraft Version: 1.19.2
    Minecraft Version ID: 1.19.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 17.0.3, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 827721208 bytes (789 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
    CPUs: 4
    Processor Vendor: GenuineIntel
    Processor Name: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
    Identifier: Intel64 Family 6 Model 58 Stepping 9
    Microarchitecture: unknown
    Frequency (GHz): 2.39
    Number of physical packages: 1
    Number of physical CPUs: 2
    Number of logical CPUs: 4
    Graphics card #0 name: Intel(R) HD Graphics 4000
    Graphics card #0 vendor: Intel Corporation (0x8086)
    Graphics card #0 VRAM (MB): 2080.00
    Graphics card #0 deviceId: 0x0166
    Graphics card #0 versionInfo: DriverVersion=10.18.10.5161
    Memory slot #0 capacity (MB): 4096.00
    Memory slot #0 clockSpeed (GHz): 1.60
    Memory slot #0 type: DDR3
    Memory slot #1 capacity (MB): 8192.00
    Memory slot #1 clockSpeed (GHz): 1.60
    Memory slot #1 type: DDR3
    Virtual memory max (MB): 14172.85
    Virtual memory used (MB): 7200.01
    Swap memory total (MB): 1984.00
    Swap memory used (MB): 492.29
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Fabric Mods: 
        architectury: Architectury 6.3.49
        backslot: BackSlot 1.2.10
            amecsapi: Amecs API 1.3.6+mc22w17a
        bclib: BCLib 2.1.2
        betterend: Better End 2.1.1
        betternether: Better Nether 7.1.1
        cloth-config: Cloth Config v8 8.2.88
            cloth-basic-math: cloth-basic-math 0.6.1
        fabric-api: Fabric API 0.66.0+1.19.2
            fabric-api-base: Fabric API Base 0.4.12+93d8cb8290
            fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.10+93d8cb8290
            fabric-biome-api-v1: Fabric Biome API (v1) 9.0.18+c6af733c90
            fabric-block-api-v1: Fabric Block API (v1) 1.0.0+12bfe4ea90
            fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.21+c6af733c90
            fabric-client-tags-api-v1: Fabric Client Tags 1.0.2+b35fea8390
            fabric-command-api-v1: Fabric Command API (v1) 1.2.12+f71b366f90
            fabric-command-api-v2: Fabric Command API (v2) 2.1.8+93d8cb8290
            fabric-commands-v0: Fabric Commands (v0) 0.2.29+df3654b390
            fabric-containers-v0: Fabric Containers (v0) 0.1.35+df3654b390
            fabric-content-registries-v0: Fabric Content Registries (v0) 3.4.1+6064db2a90
            fabric-convention-tags-v1: Fabric Convention Tags 1.1.2+93d8cb8290
            fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.6+aeb40ebe90
            fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.2.3+b598f4ac90
            fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.32+0dd10df690
            fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.0+a1d87cb890
            fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.29+c6af733c90
            fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.29+df3654b390
            fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.22+c6af733c90
            fabric-item-api-v1: Fabric Item API (v1) 1.5.8+93d8cb8290
            fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.33+70efcffe90
            fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.22+aaaf9d3390
            fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.20+df3654b390
            fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.0+33ffe9ec90
            fabric-loot-api-v2: Fabric Loot API (v2) 1.1.7+83a8659290
            fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.10+9e7660c690
            fabric-message-api-v1: Fabric Message API (v1) 5.0.4+93d8cb8290
            fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.18+33fbc73890
            fabric-models-v0: Fabric Models (v0) 0.3.18+c6af733c90
            fabric-networking-api-v1: Fabric Networking API (v1) 1.2.5+c6af733c90
            fabric-networking-v0: Fabric Networking (v0) 0.3.22+df3654b390
            fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.1.0+06e0e25190
            fabric-particles-v1: Fabric Particles (v1) 1.0.11+79adfe0a90
            fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.26+c6af733c90
            fabric-renderer-api-v1: Fabric Renderer API (v1) 1.0.13+12bfe4ea90
            fabric-renderer-indigo: Fabric Renderer - Indigo 0.6.15+aeb40ebe90
            fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.21+df3654b390
            fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.16+12bfe4ea90
            fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.8+c6af733c90
            fabric-rendering-v0: Fabric Rendering (v0) 1.1.23+df3654b390
            fabric-rendering-v1: Fabric Rendering (v1) 1.11.0+73145abb90
            fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.1.0+aae9039d90
            fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.7.3+3e1ba48e90
            fabric-screen-api-v1: Fabric Screen API (v1) 1.0.27+93d8cb8290
            fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.1+1cc24b1b90
            fabric-sound-api-v1: Fabric Sound API (v1) 1.0.0+c4f28df590
            fabric-textures-v0: Fabric Textures (v0) 1.0.21+aeb40ebe90
            fabric-transfer-api-v1: Fabric Transfer API (v1) 2.1.1+93d8cb8290
            fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.3.1+42d99c3290
        fabricloader: Fabric Loader 0.14.9
        forgeconfigapiport: Forge Config API Port 4.2.6
            com_electronwill_night-config_core: core 3.6.5
            com_electronwill_night-config_toml: toml 3.6.5
        geckolib3: Geckolib 3.1.36
            com_eliotlash_mclib_mclib: mclib 20
        horseexpert: Horse Expert 4.0.0
        java: OpenJDK 64-Bit Server VM 17
        majobroom: Majo's Broom 1.2.2
        mavm: More Axolotl Variants Mod 1.1.0
        minecraft: Minecraft 1.19.2
        mob_catcher: Mob Catcher 1.2.13
        mythicmounts: Mythic Mounts 1.19.2-7.0
        optifabric: OptiFabric 1.13.16
            mm: Manningham Mills 2.3
        patchouli: Patchouli 1.19.2-76-FABRIC
            fiber: fiber 0.23.0-2
        puzzleslib: Puzzles Lib 4.3.12
            cardinal-components-base: Cardinal Components API (base) 5.0.2
            cardinal-components-block: Cardinal Components API (blocks) 5.0.2
            cardinal-components-chunk: Cardinal Components API (chunks) 5.0.2
            cardinal-components-entity: Cardinal Components API (entities) 5.0.2
            cardinal-components-world: Cardinal Components API (worlds) 5.0.2
        retraining: Retraining 1.2.0
        roughlyenoughitems: Roughly Enough Items 9.1.565
            error_notifier: Error Notifier 1.0.9
        travelersbackpack: Traveler's Backpack 1.19.2-8.2.7
            reach-entity-attributes: Reach Entity Attributes 2.3.0
        trinkets: Trinkets 3.4.0
    Launched Version: fabric-loader-0.14.9-1.19.2
    Backend library: LWJGL version 3.3.1 SNAPSHOT
    Backend API: Intel(R) HD Graphics 4000 GL version 3.2.0 - Build 10.18.10.5161, Intel
    Window size: 854x480
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fabric'
    Type: Client (map_client.txt)
    Graphics mode: fast
    Resource Packs: vanilla, Fabric Mods
    Current Language: Français (France)
    CPU: 4x Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
    OptiFine Version: OptiFine_1.19.2_HD_U_H9
    OptiFine Build: 20220820-230904
    Render Distance Chunks: 8
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 3.2.0 - Build 10.18.10.5161
    OpenGlRenderer: Intel(R) HD Graphics 4000
    OpenGlVendor: Intel
    CpuCount: 4

-- OptiFabric --
Details:
    OptiFine jar designed for: 1.19.2
    OptiFine jar version: OptiFine_1.19.2_HD_U_H9
    OptiFine jar status: Valid OptiFine installer
    OptiFine remapped jar: C:/Users/konwe/AppData/Roaming/.minecraft/.optifine/OptiFine_1.19.2_HD_U_H9/Optifine-mapped.jar
    OptiFabric error: <None>

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • The error still remains. For additional information, I can send you some more code,  main class Afraid.java:  package org.mymod.afraid; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.MobCategory; import net.minecraft.world.entity.monster.Zombie; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.entity.EntityAttributeCreationEvent; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; @Mod("afraid") public class Afraid { public static final String MODID = "afraid"; public static final DeferredRegister<EntityType<?>> ENTITY_TYPES = DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, MODID); public static final RegistryObject<EntityType<AfraidBoss>> AFRAID_BOSS = ENTITY_TYPES.register("afraid_boss", () -> EntityType.Builder.of(AfraidBoss::new, MobCategory.MONSTER) .sized(0.6F, 1.95F) // Size of the entity .build(new ResourceLocation(MODID, "afraid_boss").toString())); public Afraid() { IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus(); ENTITY_TYPES.register(modEventBus); modEventBus.addListener(this::commonSetup); MinecraftForge.EVENT_BUS.register(this); } private void commonSetup(final FMLCommonSetupEvent event) { // Additional common setup if needed } @Mod.EventBusSubscriber(modid = MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public static class ModEvents { @SubscribeEvent public static void onRegisterAttributes(EntityAttributeCreationEvent event) { event.put(Afraid.AFRAID_BOSS.get(), AfraidBoss.createAttributes().build()); } } } EntityEvents.java:  package org.mymod.afraid; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.MobCategory; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; public class EntityEvents { public static final DeferredRegister<EntityType<?>> ENTITY_TYPES = DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, Afraid.MODID); public static final RegistryObject<EntityType<AfraidBoss>> AFRAID_BOSS = ENTITY_TYPES.register("afraid_boss", () -> EntityType.Builder.of(AfraidBoss::new, MobCategory.MONSTER) .sized(0.6F, 1.95F) .build("afraid_boss")); } As for attributes, they are only in the boss class itself.
    • Hello, new coder and first time posting, sorry if I get stuff wrong Been having a really difficult time trying to figure out this potion effect. I want to give a potion effect that denies the wither effect on the player. I've looked over a lot of different tutorials, and through some other mods and made something that sort of works but it was based on applyEffectTick and the players would still take a tick of damage before the potion effect kicked in. When looking up other ways to do this I saw there was like the PotionEvent but whenever I try to use it, I get errors of how it cannot be defined. This is my code right now that doesn't work package io.github.AndroPups.tsmp_models.effect; import net.minecraft.world.effect.MobEffect; import net.minecraft.world.effect.MobEffectCategory; import net.minecraft.world.effect.MobEffects; import net.minecraft.world.entity.LivingEntity; public class NoWitherEffect extends MobEffect { public NoWitherEffect(MobEffectCategory mobEffectCategory, int color) { super(mobEffectCategory.BENEFICIAL, color); } public static void onPotionAdded(PotionEvent.PotionAddedEvent event) { LivingEntity entity = event.getEntityLiving(); MobEffect potionEffect = event.getPotionEffect().getEffect(); if (potionEffect == MobEffects.WITHER); { entity.removeEffect(MobEffects.WITHER); } } @Override public boolean isDurationEffectTick(int duration, int amplifier) { return true; } } And this code works but occasionally still applies damage because of ticking effect.   package io.github.AndroPups.tsmp_models.effect; import net.minecraft.world.effect.MobEffect; import net.minecraft.world.effect.MobEffectCategory; import net.minecraft.world.effect.MobEffects; import net.minecraft.world.entity.LivingEntity; public class NoWitherEffect extends MobEffect { public NoWitherEffect(MobEffectCategory mobEffectCategory, int color) { super(mobEffectCategory.BENEFICIAL, color); } @Override public void applyEffectTick(LivingEntity pLivingEntity, int pAmplifier) { if (!pLivingEntity.level().isClientSide()) { if (pLivingEntity.hasEffect(MobEffects.WITHER)); { pLivingEntity.getEffect(MobEffects.WITHER); } } } @Override public boolean isDurationEffectTick(int duration, int amplifier) { return true; } } I've tried to see if PotionEvent was removed from recent Forge updates but can't really find any information on it. Any information at all would be helpful! Thanks!
    • Right after "private final Item item;" you will need "private final float chance;" Then you will need to add that variable to your constructor the same way you did for Item. It should work after that.
    • I am playing on Mac, tried to install a mod to the Forge mod folder, restarted Minecraft to activate it and now the game is crashing on launch with error code 1. Because I'm on Mac, I can't remotely access the mods folder without having to get into the Minecraft title screen to click the mods tab. Is there any way I can extract the file remotely, or is there a way to uninstall Forge so I can reinstall it with no mods?
  • Topics

×
×
  • Create New...

Important Information

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