Class ModelPartBuilder

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

@Environment(CLIENT) public class ModelPartBuilder extends Object
Mappings:
Namespace Name
named net/minecraft/client/model/ModelPartBuilder
intermediary net/minecraft/class_5606
official fxv
  • Field Details

    • ALL_DIRECTIONS

      private static final Set<Direction> ALL_DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      named ALL_DIRECTIONS Lnet/minecraft/client/model/ModelPartBuilder;ALL_DIRECTIONS:Ljava/util/Set;
      intermediary field_42888 Lnet/minecraft/class_5606;field_42888:Ljava/util/Set;
      official a Lfxv;a:Ljava/util/Set;
    • cuboidData

      private final List<ModelCuboidData> cuboidData
      Mappings:
      Namespace Name Mixin selector
      named cuboidData Lnet/minecraft/client/model/ModelPartBuilder;cuboidData:Ljava/util/List;
      intermediary field_27719 Lnet/minecraft/class_5606;field_27719:Ljava/util/List;
      official b Lfxv;b:Ljava/util/List;
    • textureX

      private int textureX
      Mappings:
      Namespace Name Mixin selector
      named textureX Lnet/minecraft/client/model/ModelPartBuilder;textureX:I
      intermediary field_27720 Lnet/minecraft/class_5606;field_27720:I
      official c Lfxv;c:I
    • textureY

      private int textureY
      Mappings:
      Namespace Name Mixin selector
      named textureY Lnet/minecraft/client/model/ModelPartBuilder;textureY:I
      intermediary field_27721 Lnet/minecraft/class_5606;field_27721:I
      official d Lfxv;d:I
    • mirror

      private boolean mirror
      Mappings:
      Namespace Name Mixin selector
      named mirror Lnet/minecraft/client/model/ModelPartBuilder;mirror:Z
      intermediary field_27722 Lnet/minecraft/class_5606;field_27722:Z
      official e Lfxv;e:Z
  • Constructor Details

    • ModelPartBuilder

      public ModelPartBuilder()
  • Method Details

    • uv

      public ModelPartBuilder uv(int textureX, int textureY)
      Mappings:
      Namespace Name Mixin selector
      named uv Lnet/minecraft/client/model/ModelPartBuilder;uv(II)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32101 Lnet/minecraft/class_5606;method_32101(II)Lnet/minecraft/class_5606;
      official a Lfxv;a(II)Lfxv;
    • mirrored

      public ModelPartBuilder mirrored()
      Mappings:
      Namespace Name Mixin selector
      named mirrored Lnet/minecraft/client/model/ModelPartBuilder;mirrored()Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32096 Lnet/minecraft/class_5606;method_32096()Lnet/minecraft/class_5606;
      official a Lfxv;a()Lfxv;
    • mirrored

      public ModelPartBuilder mirrored(boolean mirror)
      Mappings:
      Namespace Name Mixin selector
      named mirrored Lnet/minecraft/client/model/ModelPartBuilder;mirrored(Z)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32106 Lnet/minecraft/class_5606;method_32106(Z)Lnet/minecraft/class_5606;
      official a Lfxv;a(Z)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, Dilation extra, int textureX, int textureY)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFIIILnet/minecraft/client/model/Dilation;II)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32105 Lnet/minecraft/class_5606;method_32105(Ljava/lang/String;FFFIIILnet/minecraft/class_5605;II)Lnet/minecraft/class_5606;
      official a Lfxv;a(Ljava/lang/String;FFFIIILfxu;II)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, int textureX, int textureY)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFIIIII)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32104 Lnet/minecraft/class_5606;method_32104(Ljava/lang/String;FFFIIIII)Lnet/minecraft/class_5606;
      official a Lfxv;a(Ljava/lang/String;FFFIIIII)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFF)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32097 Lnet/minecraft/class_5606;method_32097(FFFFFF)Lnet/minecraft/class_5606;
      official a Lfxv;a(FFFFFF)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Set<Direction> directions)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFFLjava/util/Set;)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_49304 Lnet/minecraft/class_5606;method_49304(FFFFFFLjava/util/Set;)Lnet/minecraft/class_5606;
      official a Lfxv;a(FFFFFFLjava/util/Set;)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFFFF)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32102 Lnet/minecraft/class_5606;method_32102(Ljava/lang/String;FFFFFF)Lnet/minecraft/class_5606;
      official a Lfxv;a(Ljava/lang/String;FFFFFF)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFFFFLnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32103 Lnet/minecraft/class_5606;method_32103(Ljava/lang/String;FFFFFFLnet/minecraft/class_5605;)Lnet/minecraft/class_5606;
      official a Lfxv;a(Ljava/lang/String;FFFFFFLfxu;)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, boolean mirror)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFFZ)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32100 Lnet/minecraft/class_5606;method_32100(FFFFFFZ)Lnet/minecraft/class_5606;
      official a Lfxv;a(FFFFFFZ)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, float textureScaleX, float textureScaleY)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFFLnet/minecraft/client/model/Dilation;FF)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32099 Lnet/minecraft/class_5606;method_32099(FFFFFFLnet/minecraft/class_5605;FF)Lnet/minecraft/class_5606;
      official a Lfxv;a(FFFFFFLfxu;FF)Lfxv;
    • cuboid

      public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra)
      Mappings:
      Namespace Name Mixin selector
      named cuboid Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFFLnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32098 Lnet/minecraft/class_5606;method_32098(FFFFFFLnet/minecraft/class_5605;)Lnet/minecraft/class_5606;
      official a Lfxv;a(FFFFFFLfxu;)Lfxv;
    • build

      public List<ModelCuboidData> build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/model/ModelPartBuilder;build()Ljava/util/List;
      intermediary method_32107 Lnet/minecraft/class_5606;method_32107()Ljava/util/List;
      official b Lfxv;b()Ljava/util/List;
    • create

      public static ModelPartBuilder create()
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/model/ModelPartBuilder;create()Lnet/minecraft/client/model/ModelPartBuilder;
      intermediary method_32108 Lnet/minecraft/class_5606;method_32108()Lnet/minecraft/class_5606;
      official c Lfxv;c()Lfxv;