Class ModelCuboidData

java.lang.Object
net.minecraft.client.model.ModelCuboidData

@Environment(CLIENT)
public final class ModelCuboidData
extends Object
  • Field Details

    • name

      @Nullable private final String name
    • offset

      private final Vec3f offset
    • dimensions

      private final Vec3f dimensions
    • extraSize

      private final Dilation extraSize
    • mirror

      private final boolean mirror
    • textureUV

      private final Vector2f textureUV
    • textureScale

      private final Vector2f textureScale
  • Constructor Details

    • ModelCuboidData

      protected ModelCuboidData​(@Nullable String name, float textureX, float textureY, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, boolean mirror, float textureScaleX, float textureScaleY)
  • Method Details

    • createCuboid

      public ModelPart.Cuboid createCuboid​(int textureWidth, int textureHeight)