net.minecraft.world.level.block

public class TripWireHookBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dsj
net.minecraft.world.level.block.TripWireHookBlock
net.minecraft.class_2537
net.minecraft.block.TripwireHookBlock
net.minecraft.world.level.block.BlockTripwireHook

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TripWireHookBlock>
a
CODEC
field_46481
CODEC
public static final EnumProperty<Direction>
b
FACING
field_11666
FACING
public static final BooleanProperty
c
POWERED
field_11671
POWERED
public static final BooleanProperty
d
ATTACHED
field_11669
ATTACHED
protected static final int
e
WIRE_DIST_MIN
field_31268
field_31268
protected static final int
f
WIRE_DIST_MAX
field_31269
field_31269
private static final int
l
RECHECK_PERIOD
field_31271
SCHEDULED_TICK_DELAY
protected static final int
g
AABB_OFFSET
field_31270
field_31270
protected static final VoxelShape
h
NORTH_AABB
field_11665
SOUTH_SHAPE
protected static final VoxelShape
i
SOUTH_AABB
field_11668
NORTH_SHAPE
protected static final VoxelShape
j
WEST_AABB
field_11670
EAST_SHAPE
protected static final VoxelShape
k
EAST_AABB
field_11667
WEST_SHAPE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TripWireHookBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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)
protected boolean
a(dwy arg0, dgm arg1, ji arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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)
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public void
a(dgj arg0, ji arg1, dwy arg2, bvi arg3, cwq arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
public static void
a(dgj arg0, ji arg1, dwy arg2, boolean arg3, boolean arg4, int arg5, dwy arg6)
calculateState(Level arg0, BlockPos arg1, BlockState arg2, boolean arg3, boolean arg4, int arg5, BlockState arg6)
method_10776(class_1937 arg0, class_2338 arg1, class_2680 arg2, boolean arg3, boolean arg4, int arg5, class_2680 arg6)
update(World world, BlockPos pos, BlockState state, boolean arg3, boolean arg4, int arg5, BlockState arg6)
protected void
a(dwy arg0, ard arg1, ji 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)
private static void
a(dgj arg0, ji arg1, boolean arg2, boolean arg3, boolean arg4, boolean arg5)
emitState(Level arg0, BlockPos arg1, boolean arg2, boolean arg3, boolean arg4, boolean arg5)
method_10777(class_1937 arg0, class_2338 arg1, boolean arg2, boolean arg3, boolean arg4, boolean arg5)
playSound(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off)
private static void
a(djn arg0, dgj arg1, ji arg2, jn arg3)
notifyNeighbors(Block arg0, Level arg1, BlockPos arg2, Direction arg3)
method_10775(class_2248 arg0, class_1937 arg1, class_2338 arg2, class_2350 arg3)
updateNeighborsOnAxis(Block block, World world, BlockPos pos, Direction direction)
protected void
a(dwy arg0, dgj arg1, ji arg2, dwy 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)
protected int
a(dwy arg0, dfo arg1, ji arg2, jn arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected int
b(dwy arg0, dfo arg1, ji arg2, jn arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected boolean
f_(dwy arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
protected BlockState
a(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dwy arg0, dom arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)