History - net.minecraft.block.TripwireHookBlock

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

com.mojang.serialization.MapCodec<TripwireHookBlock>: CODEC, field_46481, CODEC

Constructors

Methods

com.mojang.serialization.MapCodec<TripwireHookBlock> (): codec, method_53969, getCodec

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

int (BlockState, BlockView, BlockPos, Direction): getSignal, method_9524, getWeakRedstonePower

int (BlockState, BlockView, BlockPos): ownSignal, method_1_5240, getWeakRedstonePower

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

void (BlockState, World, BlockPos): onRemoved, method_1_3130, update

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.TripWireHookBlock

net.minecraft.class_2537

net.minecraft.block.TripwireHookBlock

Fields

com.mojang.serialization.MapCodec<TripwireHookBlock>: CODEC, field_46481, CODEC

EnumProperty<Direction>: FACING, field_11666, FACING

BooleanProperty: POWERED, field_11671, POWERED

BooleanProperty: ATTACHED, field_11669, ATTACHED

int: WIRE_DIST_MIN, field_31268, field_31268

int: WIRE_DIST_MAX, field_31269, field_31269

int: RECHECK_PERIOD, field_31271, SCHEDULED_TICK_DELAY

Map<Direction, VoxelShape>: SHAPES, field_55808, SHAPES_BY_DIRECTION

Constructors

(AbstractBlock$Settings)

Methods

com.mojang.serialization.MapCodec<TripwireHookBlock> (): codec, method_53969, getCodec

VoxelShape (BlockState, BlockView, BlockPos, ShapeContext): getShape, method_9530, getOutlineShape

boolean (BlockState, WorldView, BlockPos): canSurvive, method_9558, canPlaceAt

BlockState (BlockState, WorldView, ScheduledTickView, BlockPos, Direction, BlockPos, BlockState, Random): updateShape, method_9559, getStateForNeighborUpdate

BlockState (ItemPlacementContext): getStateForPlacement, method_9605, getPlacementState

void (World, BlockPos, BlockState, LivingEntity, ItemStack): setPlacedBy, method_9567, onPlaced

void (World, BlockPos, BlockState, boolean, boolean, int, BlockState): calculateState, method_10776, update

void (BlockState, ServerWorld, BlockPos, Random): tick, method_9588, scheduledTick

void (World, BlockPos, boolean, boolean, boolean, boolean): emitState, method_10777, playSound

void (Block, World, BlockPos, Direction): notifyNeighbors, method_10775, updateNeighborsOnAxis

void (BlockState, ServerWorld, BlockPos, boolean): affectNeighborsAfterRemoval, method_66388, onStateReplaced

int (BlockState, BlockView, BlockPos, Direction): getSignal, method_9524, getWeakRedstonePower

int (BlockState, BlockView, BlockPos, Direction): getDirectSignal, method_9603, getStrongRedstonePower

boolean (BlockState): isSignalSource, method_9506, emitsRedstonePower

BlockState (BlockState, BlockRotation): rotate, method_9598, rotate

BlockState (BlockState, BlockMirror): mirror, method_9569, mirror

void (StateManager$Builder<Block, BlockState>): createBlockStateDefinition, method_9515, appendProperties