minenash / actionhunger Goto Github PK
View Code? Open in Web Editor NEWChanges how hunger, regen, and food works
License: Creative Commons Zero v1.0 Universal
Changes how hunger, regen, and food works
License: Creative Commons Zero v1.0 Universal
It now crashes the server when player joins
Add the "exhaustion amount " parameter to the actions:
Attacking an enemy(How much exhaustion you get from per attack landed)
Breaking a block(How much exhaustion you get per block broken)
Both mods mess with the hunger bar, so it ends up giving this error, if you could make a compatible version it would be incredible.
When creating a world the game crashes, and Mixin Conflict Helper shows this error:
LevelZ is conflicting with ActionHunger.
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/class_1702::updateStaminaMixin with priority 1000 cannot inject into net/minecraft/class_1702::method_7588(Lnet/minecraft/class_1657;)V merged by com.minenash.action_hunger.mixin.HungerManagerMixin with priority 1000 [PREINJECT Applicator Phase -> levelz.mixins.json:player.HungerManagerMixin from mod levelz -> Prepare Injections -> -> handler$gca000$levelz$updateStaminaMixin(Lnet/minecraft/class_1657;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305)
at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:240)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1337)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1053)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:327)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at net.minecraft.class_1657.<init>(class_1657.java:168)
at net.minecraft.class_3222.<init>(class_3222.java:266)
at net.minecraft.class_3324.method_14613(class_3324.java:479)
at net.minecraft.class_3248.method_14384(class_3248.java:113)
at net.minecraft.class_3248.redirect$ecc000$fabric-networking-api-v1$handlePlayerJoin(class_3248.java:1063)
at net.minecraft.class_3248.method_18784(class_3248.java:68)
at net.minecraft.class_2535.method_10754(class_2535.java:259)
at net.minecraft.class_3242.method_14357(class_3242.java:172)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:908)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824)
at net.minecraft.class_1132.method_3748(class_1132.java:105)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265)
at java.base/java.lang.Thread.run(Thread.java:833)
- action_hunger 0.2.0+1.20
- levelz 1.4.11
- libz 1.0.3
## Game info
Minecraft Version: 1.20.1
Fabric Loader Version: 0.14.25
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.