net.minecraft.world.level.block

public class TripWireHookBlock

extends Block

All mapped superinterfaces:

ItemLike

cry
net.minecraft.world.level.block.TripWireHookBlock
net.minecraft.class_2537
net.minecraft.unmapped.C_wyvomnwd
net.minecraft.block.TripwireHookBlock
net.minecraft.block.TripwireHookBlock
net.minecraft.src.C_1948_
net.minecraft.world.level.block.BlockTripwireHook

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_11666
f_mpcyfvrl
FACING
FACING
f_57667_
public static final BooleanProperty
b
POWERED
field_11671
f_uhfjyirj
POWERED
POWERED
f_57668_
public static final BooleanProperty
c
ATTACHED
field_11669
f_gebdttag
ATTACHED
ATTACHED
f_57669_
protected static final int
d
WIRE_DIST_MIN
field_31268
f_ogkzjvcx
field_31268
MIN_WIRE_DISTANCE
f_154837_
protected static final int
e
WIRE_DIST_MAX
field_31269
f_yhzndgac
field_31269
MAX_WIRE_DISTANCE
f_154838_
private static final int
k
RECHECK_PERIOD
field_31271
f_zpwnhrxx
SCHEDULED_TICK_DELAY
SCHEDULED_TICK_DELAY
f_154840_
protected static final int
f
AABB_OFFSET
field_31270
f_enrmutce
field_31270
SHAPE_OFFSET
f_154839_
protected static final VoxelShape
g
NORTH_AABB
field_11665
f_jnrckpme
SOUTH_SHAPE
SOUTH_SHAPE
f_57670_
protected static final VoxelShape
h
SOUTH_AABB
field_11668
f_kkvyvpsm
NORTH_SHAPE
NORTH_SHAPE
f_57671_
protected static final VoxelShape
i
WEST_AABB
field_11670
f_nquytzwv
EAST_SHAPE
EAST_SHAPE
f_57672_
protected static final VoxelShape
j
EAST_AABB
field_11667
f_ezrotixa
WEST_SHAPE
WEST_SHAPE
f_57673_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(cvo arg0, cgd arg1, gt arg2, dwv arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_57741_, C_1559_ p_57742_, C_4675_ p_57743_, C_3051_ arg3)
public boolean
a(cvo arg0, cha arg1, gt arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_57722_, C_1599_ p_57723_, C_4675_ arg2)
public BlockState
a(cvo arg0, gy arg1, cvo arg2, cgy arg3, gt arg4, gt 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)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_57732_, C_4687_ p_57733_, C_2064_ p_57734_, C_1598_ p_57735_, C_4675_ p_57736_, C_4675_ arg5)
public BlockState
a(ccx arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public void
a(cgx arg0, gt arg1, cvo arg2, bcc arg3, cax 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)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_57681_, C_4675_ p_57682_, C_2064_ p_57683_, C_524_ p_57684_, C_1391_ arg4)
public void
a(cgx arg0, gt arg1, cvo arg2, boolean arg3, boolean arg4, int arg5, cvo 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)
m_ayksouit(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3, boolean arg4, int arg5, C_txtbiemp arg6)
update(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean arg4, int arg5, BlockState arg6)
update(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean update, int tripwireIndex, BlockState otherHookState)
m_57685_(C_1596_ p_57687_, C_4675_ p_57688_, C_2064_ p_57689_, boolean p_57690_, boolean p_57691_, int p_57692_, C_2064_ arg6)
public void
a(cvo arg0, agg arg1, gt arg2, amn arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_222611_, C_12_ p_222612_, C_4675_ p_222613_, C_212974_ arg3)
private void
a(cgx arg0, gt 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)
m_opfdnesr(C_cdctfzbn arg0, C_hynzadkk arg1, boolean arg2, boolean arg3, boolean arg4, boolean arg5)
playSound(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off)
playSound(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off)
m_222602_(C_1596_ p_222604_, C_4675_ p_222605_, boolean p_222606_, boolean p_222607_, boolean p_222608_, boolean arg5)
private void
a(cgx arg0, gt arg1, gy arg2)
notifyNeighbors(Level arg0, BlockPos arg1, Direction arg2)
method_10775(class_1937 arg0, class_2338 arg1, class_2350 arg2)
m_gyrhxotd(C_cdctfzbn arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
updateNeighborsOnAxis(World world, BlockPos pos, Direction direction)
updateNeighborsOnAxis(World world, BlockPos pos, Direction direction)
m_57693_(C_1596_ p_57695_, C_4675_ p_57696_, C_4687_ arg2)
public void
a(cvo arg0, cgx arg1, gt arg2, cvo 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_57716_, C_1596_ p_57717_, C_4675_ p_57718_, C_2064_ p_57719_, boolean arg4)
public int
a(cvo arg0, cgd arg1, gt arg2, gy arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_57711_, C_1559_ p_57712_, C_4675_ p_57713_, C_4687_ arg3)
public int
b(cvo arg0, cgd arg1, gt arg2, gy arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6376_(C_2064_ p_57746_, C_1559_ p_57747_, C_4675_ p_57748_, C_4687_ arg3)
public boolean
f_(cvo arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public BlockState
a(cvo arg0, cpw arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_57729_, C_1886_ arg1)
public BlockState
a(cvo arg0, coh arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_57726_, C_1838_ arg1)
protected void
a(cvp$a<cjt, cvo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)