-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better EntityESP fixes + extra mobs.
- Loading branch information
1 parent
4a9a66c
commit 977c016
Showing
6 changed files
with
286 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package net.aoba.mixin.interfaces; | ||
|
||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Invoker; | ||
import net.minecraft.client.model.ModelPart; | ||
import net.minecraft.client.render.entity.model.AnimalModel; | ||
|
||
@Mixin(AnimalModel.class) | ||
public interface IAnimalModel { | ||
@Invoker("getHeadParts") | ||
Iterable<ModelPart> invokeGetHeadParts(); | ||
|
||
@Invoker("getBodyParts") | ||
Iterable<ModelPart> invokeGetBodyParts(); | ||
} |
33 changes: 33 additions & 0 deletions
33
src/main/java/net/aoba/mixin/interfaces/ILlamaEntityModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package net.aoba.mixin.interfaces; | ||
|
||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
import net.minecraft.client.model.ModelPart; | ||
import net.minecraft.client.render.entity.model.LlamaEntityModel; | ||
|
||
@Mixin(LlamaEntityModel.class) | ||
public interface ILlamaEntityModel { | ||
@Accessor("head") | ||
ModelPart getHead(); | ||
|
||
@Accessor("body") | ||
ModelPart getBody(); | ||
|
||
@Accessor("rightHindLeg") | ||
ModelPart getRightHindLeg(); | ||
|
||
@Accessor("leftHindLeg") | ||
ModelPart getLeftHindLeg(); | ||
|
||
@Accessor("rightFrontLeg") | ||
ModelPart getRightFrontLeg(); | ||
|
||
@Accessor("leftFrontLeg") | ||
ModelPart getLeftFrontLeg(); | ||
|
||
@Accessor("rightChest") | ||
ModelPart getRightChest(); | ||
|
||
@Accessor("leftChest") | ||
ModelPart getLeftChest(); | ||
} |
45 changes: 45 additions & 0 deletions
45
src/main/java/net/aoba/mixin/interfaces/IRabbitEntityModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package net.aoba.mixin.interfaces; | ||
|
||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
import net.minecraft.client.model.ModelPart; | ||
import net.minecraft.client.render.entity.model.RabbitEntityModel; | ||
|
||
@Mixin(RabbitEntityModel.class) | ||
public interface IRabbitEntityModel { | ||
@Accessor("leftHindLeg") | ||
ModelPart getLeftHindLeg(); | ||
|
||
@Accessor("rightHindLeg") | ||
ModelPart getRightHindLeg(); | ||
|
||
@Accessor("leftHaunch") | ||
ModelPart getLeftHaunch(); | ||
|
||
@Accessor("rightHaunch") | ||
ModelPart getRightHaunch(); | ||
|
||
@Accessor("body") | ||
ModelPart getBody(); | ||
|
||
@Accessor("leftFrontLeg") | ||
ModelPart getLeftFrontLeg(); | ||
|
||
@Accessor("rightFrontLeg") | ||
ModelPart getRightFrontLeg(); | ||
|
||
@Accessor("head") | ||
ModelPart getHead(); | ||
|
||
@Accessor("rightEar") | ||
ModelPart getRightEar(); | ||
|
||
@Accessor("leftEar") | ||
ModelPart getLeftEar(); | ||
|
||
@Accessor("tail") | ||
ModelPart getTail(); | ||
|
||
@Accessor("nose") | ||
ModelPart getNose(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.