net.minecraft.block

public class JigsawBlock

extends Block implements BlockEntityProvider, OperatorBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, BlockEntityProvider, OperatorBlock

net.minecraft.world.level.block.JigsawBlock
net.minecraft.class_3748
net.minecraft.block.JigsawBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<JigsawBlock>
CODEC
field_46376
CODEC
public static final EnumProperty<Orientation>
ORIENTATION
field_23262
ORIENTATION

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<JigsawBlock>
codec()
method_53969()
getCodec()
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected BlockState
rotate(BlockState state, Rotation rotation)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
mirror(BlockState state, Mirror mirror)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public BlockEntity
newBlockEntity(BlockPos worldPosition, BlockState blockState)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected ActionResult
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
public static boolean
canAttach(StructureTemplate$JigsawBlockInfo source, StructureTemplate$JigsawBlockInfo target)
method_16546(class_3499$class_10326 arg0, class_3499$class_10326 arg1)
attachmentMatches(StructureTemplate$JigsawBlockInfo info1, StructureTemplate$JigsawBlockInfo info2)
public static Direction
getFrontFacing(BlockState state)
method_26378(class_2680 arg0)
getFacing(BlockState state)
public static Direction
getTopFacing(BlockState state)
method_26379(class_2680 arg0)
getRotation(BlockState state)