Skeleton go pew pew
Also zombie go boom
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
"contact": {},
|
||||
"license": "MIT",
|
||||
"icon": "assets/plasticgun/icon.png",
|
||||
"accessWidener" : "plasticgun.accesswidener",
|
||||
"mixins": [
|
||||
"plasticgun.mixins.json"
|
||||
],
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
|
5
src/main/resources/plasticgun.accesswidener
Normal file
5
src/main/resources/plasticgun.accesswidener
Normal file
@@ -0,0 +1,5 @@
|
||||
accessWidener v2 named
|
||||
accessible field net/minecraft/entity/mob/MobEntity goalSelector Lnet/minecraft/entity/ai/goal/GoalSelector;
|
||||
accessible field net/minecraft/entity/mob/AbstractSkeletonEntity bowAttackGoal Lnet/minecraft/entity/ai/goal/BowAttackGoal;
|
||||
accessible field net/minecraft/entity/mob/AbstractSkeletonEntity meleeAttackGoal Lnet/minecraft/entity/ai/goal/MeleeAttackGoal;
|
||||
accessible method net/minecraft/entity/mob/MobEntity initEquipment (Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/LocalDifficulty;)V
|
15
src/main/resources/plasticgun.mixins.json
Normal file
15
src/main/resources/plasticgun.mixins.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "systems.brn.plasticgun.mixins",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"mixins": [
|
||||
"AbstractSkeletonEntityGunMixin",
|
||||
"ZombieGrenadeMixin"
|
||||
],
|
||||
"client": [],
|
||||
"server": [],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user