Class AbstractShroomModel<T extends BasePlant>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.HierarchicalModel<T>
nokunami.floral_warfare.client.model.FWHierarchicalModel<T>
nokunami.floral_warfare.client.model.plants.abstractModel.AbstractShroomModel<T>
- All Implemented Interfaces:
net.minecraft.client.model.HeadedModel,IFloralWarfareModel<T>
- Direct Known Subclasses:
DoomShroomModel,FumeShroomModel,IceShroomModel,PuffShroomModel,ScaredyShroomModel,SunShroomModel
public abstract class AbstractShroomModel<T extends BasePlant>
extends FWHierarchicalModel<T>
implements net.minecraft.client.model.HeadedModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.client.model.geom.ModelPartfinal net.minecraft.client.model.geom.ModelPartFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic net.minecraft.client.model.geom.builders.MeshDefinitionvoidextraAnim(T entity, FWModelProperties properties) @NotNull net.minecraft.client.model.geom.ModelPartgetHead()voidrenderToBuffer(@NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Methods inherited from class nokunami.floral_warfare.client.model.FWHierarchicalModel
blinkParts, rootMethods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animateWalk, applyStatic, getAnyDescendantWithNameMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
bone
public final net.minecraft.client.model.geom.ModelPart bone -
stemBase
public final net.minecraft.client.model.geom.ModelPart stemBase
-
-
Constructor Details
-
AbstractShroomModel
public AbstractShroomModel(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createMesh
public static net.minecraft.client.model.geom.builders.MeshDefinition createMesh() -
setupAnim
public void setupAnim(@NotNull T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) -
renderToBuffer
public void renderToBuffer(@NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull @NotNull com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) -
getHead
@NotNull public @NotNull net.minecraft.client.model.geom.ModelPart getHead()- Specified by:
getHeadin interfacenet.minecraft.client.model.HeadedModel
-
extraAnim
- Specified by:
extraAnimin interfaceIFloralWarfareModel<T extends BasePlant>- Overrides:
extraAnimin classFWHierarchicalModel<T extends BasePlant>
-
blink
- Overrides:
blinkin classFWHierarchicalModel<T extends BasePlant>
-