net.minecraft.world.level.block

public class TripWireBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dnr
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 com.mojang.serialization.MapCodec<TripWireBlock>
a
CODEC
field_46480
CODEC
f_303472_
public static final BooleanProperty
b
POWERED
field_11680
POWERED
f_57590_
public static final BooleanProperty
c
ATTACHED
field_11683
ATTACHED
f_57591_
public static final BooleanProperty
d
DISARMED
field_11679
DISARMED
f_57592_
public static final BooleanProperty
e
NORTH
field_11675
NORTH
f_57593_
public static final BooleanProperty
f
EAST
field_11673
EAST
f_57594_
public static final BooleanProperty
g
SOUTH
field_11678
SOUTH
f_57595_
public static final BooleanProperty
h
WEST
field_11674
WEST
f_57596_
private static final Map<Direction, BooleanProperty>
k
PROPERTY_BY_DIRECTION
field_11676
FACING_PROPERTIES
f_57599_
protected static final VoxelShape
i
AABB
field_11682
ATTACHED_SHAPE
f_57597_
protected static final VoxelShape
j
NOT_ATTACHED_AABB
field_11681
DETACHED_SHAPE
f_57598_
private static final int
l
RECHECK_PERIOD
field_31267
SCHEDULED_TICK_DELAY
f_154836_
private final Block
m
hook
field_11677
hookBlock
f_57600_

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()
m_304657_()
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy 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(cyc arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(dse arg0, je arg1, dse arg2, dcb arg3, iz arg4, iz 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)
protected void
b(dse arg0, dca arg1, iz arg2, dse 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)
protected void
a(dse arg0, dca arg1, iz arg2, dse 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)
public BlockState
a(dca arg0, iz arg1, dse arg2, cmz 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(dca arg0, iz arg1, dse 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)
protected void
a(dse arg0, dca arg1, iz arg2, bsw 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)
protected void
a(dse arg0, arf arg1, iz arg2, azh 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)
m_213897_(C_2064_ p_222599_, C_12_ p_222600_, C_4675_ p_222601_, C_212974_ arg3)
private void
a(dca arg0, iz 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(dse arg0, je 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)
protected BlockState
a(dse arg0, dlo 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)
protected BlockState
a(dse arg0, djy 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(dsf$a<dfb, dse> 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)