Class GoatMixins
java.lang.Object
kiwi.allantaylor.markedgoats.mixin.GoatMixins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcaptureEntityRenderState(net.minecraft.world.entity.animal.goat.Goat goatEntity, net.minecraft.client.renderer.entity.state.GoatRenderState goatEntityRenderState, float f, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) Capture the association between the GoatEntity and GoatEntityRenderState during updateRenderState.voidgetTexture(net.minecraft.client.renderer.entity.state.GoatRenderState goatEntityRenderState, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.resources.ResourceLocation> cir) Override the texture if the render state corresponds to a screaming goat.
-
Constructor Details
-
GoatMixins
public GoatMixins()
-
-
Method Details
-
captureEntityRenderState
public void captureEntityRenderState(net.minecraft.world.entity.animal.goat.Goat goatEntity, net.minecraft.client.renderer.entity.state.GoatRenderState goatEntityRenderState, float f, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) Capture the association between the GoatEntity and GoatEntityRenderState during updateRenderState. -
getTexture
public void getTexture(net.minecraft.client.renderer.entity.state.GoatRenderState goatEntityRenderState, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.resources.ResourceLocation> cir) Override the texture if the render state corresponds to a screaming goat.
-