Class GoatMixins

java.lang.Object
kiwi.allantaylor.markedgoats.mixin.GoatMixins

public class GoatMixins extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.