Class MultiBlockStructure.StructurePiece

java.lang.Object
team.lodestar.lodestone.systems.multiblock.MultiBlockStructure.StructurePiece
Enclosing class:
MultiBlockStructure

public static class MultiBlockStructure.StructurePiece extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.core.Vec3i
     
    final net.minecraft.world.level.block.state.BlockState
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StructurePiece(int xOffset, int yOffset, int zOffset, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canPlace(net.minecraft.world.item.context.BlockPlaceContext context)
     
    void
    place(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level)
     
    void
    place(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • offset

      public final net.minecraft.core.Vec3i offset
    • state

      public final net.minecraft.world.level.block.state.BlockState state
  • Constructor Details

    • StructurePiece

      public StructurePiece(int xOffset, int yOffset, int zOffset, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • canPlace

      public boolean canPlace(net.minecraft.world.item.context.BlockPlaceContext context)
    • place

      public void place(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level)
    • place

      public void place(net.minecraft.core.BlockPos core, net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state)