net.minecraft.world.level.block

public class TripWireBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dtf
net.minecraft.world.level.block.TripWireBlock
net.minecraft.class_2538
net.minecraft.block.TripwireBlock
net.minecraft.world.level.block.BlockTripwire

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TripWireBlock>
a
CODEC
field_46480
CODEC
public static final BooleanProperty
b
POWERED
field_11680
POWERED
public static final BooleanProperty
c
ATTACHED
field_11683
ATTACHED
public static final BooleanProperty
d
DISARMED
field_11679
DISARMED
public static final BooleanProperty
e
NORTH
field_11675
NORTH
public static final BooleanProperty
f
EAST
field_11673
EAST
public static final BooleanProperty
g
SOUTH
field_11678
SOUTH
public static final BooleanProperty
h
WEST
field_11674
WEST
private static final Map<Direction, BooleanProperty>
k
PROPERTY_BY_DIRECTION
field_11676
FACING_PROPERTIES
protected static final VoxelShape
i
AABB
field_11682
ATTACHED_SHAPE
protected static final VoxelShape
j
NOT_ATTACHED_AABB
field_11681
DETACHED_SHAPE
private static final int
l
RECHECK_PERIOD
field_31267
SCHEDULED_TICK_DELAY
private final Block
m
hook
field_11677
hookBlock

Constructor summary

ModifierConstructor
public (Block hookBlock, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TripWireBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
protected void
a(dxv arg0, dhi arg1, jh arg2, dxv arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public BlockState
a(dhi arg0, jh arg1, dxv arg2, cpx arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
private void
a(dhi arg0, jh arg1, dxv arg2)
updateSource(Level arg0, BlockPos arg1, BlockState arg2)
method_10779(class_1937 arg0, class_2338 arg1, class_2680 arg2)
update(World world, BlockPos pos, BlockState state)
protected VoxelShape
a_(dxv arg0, dhi arg1, jh arg2)
getEntityInsideCollisionShape(BlockState arg0, Level arg1, BlockPos arg2)
method_64022(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getInsideCollisionShape(BlockState arg0, World arg1, BlockPos arg2)
protected void
a(dxv arg0, dhi arg1, jh arg2, bvk arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
private void
a(dhi arg0, jh arg1)
checkPressed(Level arg0, BlockPos arg1)
method_64024(class_1937 arg0, class_2338 arg1)
updatePowered(World world, BlockPos pos)
private void
a(dhi arg0, jh arg1, List<? extends bvk> arg2)
checkPressed(Level arg0, BlockPos arg1, List<? extends Entity> arg2)
method_10780(class_1937 arg0, class_2338 arg1, List<? extends class_1297> arg2)
updatePowered(World world, BlockPos pos, List<? extends Entity> entities)
public boolean
a(dxv arg0, jm arg1)
shouldConnectTo(BlockState arg0, Direction arg1)
method_10778(class_2680 arg0, class_2350 arg1)
shouldConnectTo(BlockState state, Direction facing)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)