net.minecraft.world.level.block

public class TripWireBlock

extends Block

All mapped superinterfaces:

ItemLike

chg
net.minecraft.world.level.block.TripWireBlock
net.minecraft.class_2538
net.minecraft.block.TripwireBlock
net.minecraft.src.C_1946_
net.minecraft.world.level.block.BlockTripwire

Field summary

Modifier and TypeField
public static final BooleanProperty
a
POWERED
field_11680
POWERED
f_57590_
public static final BooleanProperty
b
ATTACHED
field_11683
ATTACHED
f_57591_
public static final BooleanProperty
c
DISARMED
field_11679
DISARMED
f_57592_
public static final BooleanProperty
d
NORTH
field_11675
NORTH
f_57593_
public static final BooleanProperty
e
EAST
field_11673
EAST
f_57594_
public static final BooleanProperty
f
SOUTH
field_11678
SOUTH
f_57595_
public static final BooleanProperty
g
WEST
field_11674
WEST
f_57596_
private static final Map<Direction, BooleanProperty>
j
PROPERTY_BY_DIRECTION
field_11676
FACING_PROPERTIES
f_57599_
protected static final VoxelShape
h
AABB
field_11682
ATTACHED_SHAPE
f_57597_
protected static final VoxelShape
i
NOT_ATTACHED_AABB
field_11681
DETACHED_SHAPE
f_57598_
private static final int
k
RECHECK_PERIOD
field_31267
SCHEDULED_TICK_DELAY
f_154836_
private final TripWireHookBlock
l
hook
field_11677
hookBlock
f_57600_

Constructor summary

ModifierConstructor
public (TripWireHookBlock hookBlock, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
a(ckt arg0, bvu arg1, gg arg2, dnf 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)
m_5940_(C_2064_ p_57655_, C_1559_ p_57656_, C_4675_ p_57657_, C_3051_ arg3)
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_57646_, C_4687_ p_57647_, C_2064_ p_57648_, C_1598_ p_57649_, C_4675_ p_57650_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public void
b(ckt arg0, bwq arg1, gg arg2, ckt 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)
m_6807_(C_2064_ p_57660_, C_1596_ p_57661_, C_4675_ p_57662_, C_2064_ p_57663_, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(ckt arg0, bwq arg1, gg arg2, ckt 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)
m_6810_(C_2064_ p_57631_, C_1596_ p_57632_, C_4675_ p_57633_, C_2064_ p_57634_, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(bwq arg0, gg arg1, ckt arg2, bke 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)
m_5707_(C_1596_ p_57616_, C_4675_ p_57617_, C_2064_ p_57618_, C_1141_ arg3)
private void
a(bwq arg0, gg arg1, ckt 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)
m_57610_(C_1596_ p_57612_, C_4675_ p_57613_, C_2064_ arg2)
public void
a(ckt arg0, bwq arg1, gg arg2, atg 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)
m_7892_(C_2064_ p_57626_, C_1596_ p_57627_, C_4675_ p_57628_, C_507_ arg3)
public void
a(ckt arg0, abr arg1, gg arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_57621_, C_12_ p_57622_, C_4675_ p_57623_, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
private void
a(bwq arg0, gg arg1)
checkPressed(Level arg0, BlockPos arg1)
method_10780(class_1937 arg0, class_2338 arg1)
updatePowered(World world, BlockPos pos)
m_57607_(C_1596_ p_57609_, C_4675_ arg1)
public boolean
a(ckt arg0, gl arg1)
shouldConnectTo(BlockState arg0, Direction arg1)
method_10778(class_2680 arg0, class_2350 arg1)
shouldConnectTo(BlockState state, Direction facing)
m_57641_(C_2064_ p_57643_, C_4687_ arg1)
public BlockState
a(ckt arg0, cfl arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_57640_, C_1886_ arg1)
public BlockState
a(ckt arg0, cdy arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_57637_, C_1838_ arg1)
protected void
a(cku$a<bzp, ckt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)