Class JellyfishModel<T extends Jellyfish>

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HierarchicalModel<T>
net.frozenblock.wilderwild.entity.render.model.JellyfishModel<T>

@Environment(CLIENT) public class JellyfishModel<T extends Jellyfish> extends net.minecraft.client.model.HierarchicalModel<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    float
     
    float
     
    float
     
    float
     
    float
     

    Fields inherited from class net.minecraft.client.model.EntityModel

    attackTime, riding, young

    Fields inherited from class net.minecraft.client.model.Model

    renderType
  • Constructor Summary

    Constructors
    Constructor
    Description
    JellyfishModel(@NotNull net.minecraft.client.model.geom.ModelPart root)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition
     
    void
    prepareMobModel(T jelly, float limbSwing, float limbSwimgAmount, float partialTick)
     
    void
    renderToBuffer(@NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
     
    @NotNull net.minecraft.client.model.geom.ModelPart
     
    void
    setupAnim(T jellyfish, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
     

    Methods inherited from class net.minecraft.client.model.HierarchicalModel

    animate, animate, animateWalk, applyStatic, getAnyDescendantWithName

    Methods inherited from class net.minecraft.client.model.EntityModel

    copyPropertiesTo

    Methods inherited from class net.minecraft.client.model.Model

    renderType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • xRot

      public float xRot
    • tentXRot

      public float tentXRot
    • red

      public float red
    • green

      public float green
    • blue

      public float blue
  • Constructor Details

    • JellyfishModel

      public JellyfishModel(@NotNull @NotNull net.minecraft.client.model.geom.ModelPart root)
  • Method Details

    • createBodyLayer

      @NotNull public static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer()
    • renderToBuffer

      public void renderToBuffer(@NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
      Overrides:
      renderToBuffer in class net.minecraft.client.model.HierarchicalModel<T extends Jellyfish>
    • prepareMobModel

      public void prepareMobModel(@NotNull T jelly, float limbSwing, float limbSwimgAmount, float partialTick)
      Overrides:
      prepareMobModel in class net.minecraft.client.model.EntityModel<T extends Jellyfish>
    • setupAnim

      public void setupAnim(@NotNull T jellyfish, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
      Specified by:
      setupAnim in class net.minecraft.client.model.EntityModel<T extends Jellyfish>
    • root

      @NotNull public @NotNull net.minecraft.client.model.geom.ModelPart root()
      Specified by:
      root in class net.minecraft.client.model.HierarchicalModel<T extends Jellyfish>