Class StructurePieceWithDimensions

java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StructurePieceWithDimensions
Direct Known Subclasses:
DesertTempleGenerator, JungleTempleGenerator, SwampHutGenerator

public abstract class StructurePieceWithDimensions extends StructurePiece
Mappings:
Namespace Name
official dbh
intermediary net/minecraft/class_3418
named net/minecraft/structure/StructurePieceWithDimensions
  • Field Details

    • width

      protected final int width
      Mappings:
      Namespace Name Mixin selector
      official a Ldbh;a:I
      intermediary field_15244 Lnet/minecraft/class_3418;field_15244:I
      named width Lnet/minecraft/structure/StructurePieceWithDimensions;width:I
    • height

      protected final int height
      Mappings:
      Namespace Name Mixin selector
      official b Ldbh;b:I
      intermediary field_15243 Lnet/minecraft/class_3418;field_15243:I
      named height Lnet/minecraft/structure/StructurePieceWithDimensions;height:I
    • depth

      protected final int depth
      Mappings:
      Namespace Name Mixin selector
      official c Ldbh;c:I
      intermediary field_15242 Lnet/minecraft/class_3418;field_15242:I
      named depth Lnet/minecraft/structure/StructurePieceWithDimensions;depth:I
    • hPos

      protected int hPos
      Mappings:
      Namespace Name Mixin selector
      official d Ldbh;d:I
      intermediary field_15241 Lnet/minecraft/class_3418;field_15241:I
      named hPos Lnet/minecraft/structure/StructurePieceWithDimensions;hPos:I
  • Constructor Details

    • StructurePieceWithDimensions

      protected StructurePieceWithDimensions(StructurePieceType type, int int2, int x, int y, int z, int width, int height, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbh;<init>(Lcud;IIIIIILgl;)V
      intermediary <init> Lnet/minecraft/class_3418;<init>(Lnet/minecraft/class_3773;IIIIIILnet/minecraft/class_2350;)V
      named <init> Lnet/minecraft/structure/StructurePieceWithDimensions;<init>(Lnet/minecraft/structure/StructurePieceType;IIIIIILnet/minecraft/util/math/Direction;)V
    • StructurePieceWithDimensions

      protected StructurePieceWithDimensions(StructurePieceType type, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbl;<init>(Lcud;Lna;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
  • Method Details

    • writeNbt

      protected void writeNbt(ServerWorld world, NbtCompound nbt)
      Specified by:
      writeNbt in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Ldbl;a(Labr;Lna;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)V
    • method_14839

      protected boolean method_14839(WorldAccess world, BlockBox boundingBox, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbh;a(Lbwq;Ldaq;I)Z
      intermediary method_14839 Lnet/minecraft/class_3418;method_14839(Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;I)Z
      named method_14839 Lnet/minecraft/structure/StructurePieceWithDimensions;method_14839(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockBox;I)Z