Class ShiftableStructurePiece

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

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

    • width

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

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

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

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

    • ShiftableStructurePiece

      protected ShiftableStructurePiece(StructurePieceType type, int x, int y, int z, int width, int height, int depth, Direction orientation)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/ShiftableStructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;IIIIIILnet/minecraft/util/math/Direction;)V
      intermediary <init> Lnet/minecraft/class_3418;<init>(Lnet/minecraft/class_3773;IIIIIILnet/minecraft/class_2350;)V
      official <init> Leiv;<init>(Lejo;IIIIIILjf;)V
    • ShiftableStructurePiece

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

    • writeNbt

      protected void writeNbt(StructureContext context, NbtCompound nbt)
      Specified by:
      writeNbt in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
      official a Lejb;a(Lejn;Ltx;)V
    • adjustToAverageHeight

      protected boolean adjustToAverageHeight(WorldAccess world, BlockBox boundingBox, int deltaY)
      Mappings:
      Namespace Name Mixin selector
      named adjustToAverageHeight Lnet/minecraft/structure/ShiftableStructurePiece;adjustToAverageHeight(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockBox;I)Z
      intermediary method_14839 Lnet/minecraft/class_3418;method_14839(Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;I)Z
      official a Leiv;a(Ldch;Leip;I)Z
    • adjustToMinHeight

      protected boolean adjustToMinHeight(WorldAccess world, int yOffset)
      Mappings:
      Namespace Name Mixin selector
      named adjustToMinHeight Lnet/minecraft/structure/ShiftableStructurePiece;adjustToMinHeight(Lnet/minecraft/world/WorldAccess;I)Z
      intermediary method_38462 Lnet/minecraft/class_3418;method_38462(Lnet/minecraft/class_1936;I)Z
      official a Leiv;a(Ldch;I)Z