net.minecraft.world.level.block

public class RedStoneWireBlock

extends Block

All mapped superinterfaces:

ItemLike

btn
net.minecraft.world.level.block.RedStoneWireBlock
net.minecraft.class_2457
net.minecraft.block.RedstoneWireBlock
net.minecraft.block.RedstoneWireBlock
net.minecraft.server.v1_15_R1.BlockRedstoneWire

Field summary

Modifier and TypeField
public static final EnumProperty<RedstoneSide>
a
NORTH
field_11440
WIRE_CONNECTION_NORTH
field_176348_a
NORTH
public static final EnumProperty<RedstoneSide>
b
EAST
field_11436
WIRE_CONNECTION_EAST
field_176347_b
EAST
public static final EnumProperty<RedstoneSide>
c
SOUTH
field_11437
WIRE_CONNECTION_SOUTH
field_176349_M
SOUTH
public static final EnumProperty<RedstoneSide>
d
WEST
field_11439
WIRE_CONNECTION_WEST
field_176350_N
WEST
public static final IntegerProperty
e
POWER
field_11432
POWER
field_176351_O
POWER
public static final Map<Direction, EnumProperty<RedstoneSide>>
f
PROPERTY_BY_DIRECTION
field_11435
DIRECTION_TO_WIRE_CONNECTION_PROPERTY
field_196498_A
protected static final VoxelShape[]
g
SHAPE_BY_INDEX
field_11433
WIRE_CONNECTIONS_TO_SHAPE
field_196499_B
private boolean
h
shouldSignal
field_11438
wiresGivePower
field_150181_a
private final Set<BlockPos>
i
toUpdate
field_11434
affectedNeighbors
field_150179_b

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
a(byj arg0, bjg arg1, fk arg2, cvq 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
private static int
i(byj arg0)
getAABBIndex(BlockState arg0)
method_10480(class_2680 arg0)
getWireConnectionMask(BlockState state)
func_185699_x(BlockState arg0)
public BlockState
a(bcq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(byj arg0, fp arg1, byj arg2, bjx arg3, fk arg4, fk 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, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public void
b(byj arg0, bjx arg1, fk arg2, int arg3)
updateIndirectNeighbourShapes(BlockState arg0, LevelAccessor arg1, BlockPos arg2, int arg3)
method_9517(class_2680 arg0, class_1936 arg1, class_2338 arg2, int arg3)
method_9517(BlockState arg0, IWorld arg1, BlockPos arg2, int arg3)
func_196248_b(BlockState arg0, IWorld arg1, BlockPos arg2, int arg3)
private RedstoneSide
a(bjg arg0, fk arg1, fp arg2)
getConnectingSide(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_10477(class_1922 arg0, class_2338 arg1, class_2350 arg2)
getRenderConnectionType(BlockView view, BlockPos pos, Direction dir)
func_208074_a(IBlockReader arg0, BlockPos arg1, Direction arg2)
public boolean
a(byj arg0, bjz arg1, fk 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)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
private BlockState
a(bjw arg0, fk arg1, byj arg2)
updatePowerStrength(Level arg0, BlockPos arg1, BlockState arg2)
method_10485(class_1937 arg0, class_2338 arg1, class_2680 arg2)
update(World world, BlockPos pos, BlockState state)
func_176338_e(World arg0, BlockPos arg1, BlockState arg2)
private BlockState
b(bjw arg0, fk arg1, byj arg2)
updatePowerStrengthImpl(Level arg0, BlockPos arg1, BlockState arg2)
method_10481(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateLogic(World world, BlockPos pos, BlockState state)
func_212568_b(World arg0, BlockPos arg1, BlockState arg2)
private void
a(bjw arg0, fk arg1)
checkCornerChangeAt(Level arg0, BlockPos arg1)
method_10479(class_1937 arg0, class_2338 arg1)
updateNeighbors(World world, BlockPos pos)
func_176344_d(World arg0, BlockPos arg1)
public void
b(byj arg0, bjw arg1, fk arg2, byj 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)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(byj arg0, bjw arg1, fk arg2, byj 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)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
private int
a(int arg0, byj arg1)
checkTarget(int arg0, BlockState arg1)
method_10486(int arg0, class_2680 arg1)
increasePower(int power, BlockState state)
func_212567_a(int arg0, BlockState arg1)
getPower(int arg0, IBlockData arg1)
public void
a(byj arg0, bjw arg1, fk arg2, bph arg3, fk arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
public int
b(byj arg0, bjg arg1, fk arg2, fp 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)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public int
a(byj arg0, bjg arg1, fk arg2, fp 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)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
private boolean
b(bjg arg0, fk arg1, fp arg2)
isPowerSourceAt(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_10478(class_1922 arg0, class_2338 arg1, class_2350 arg2)
couldConnectTo(BlockView view, BlockPos pos, Direction dir)
func_176339_d(IBlockReader arg0, BlockPos arg1, Direction arg2)
protected static boolean
a(bjg arg0, fk arg1)
shouldConnectTo(BlockGetter arg0, BlockPos arg1)
method_10483(class_1922 arg0, class_2338 arg1)
connectsTo(BlockView view, BlockPos pos)
func_176340_e(IBlockReader arg0, BlockPos arg1)
protected static boolean
h(byj arg0)
shouldConnectTo(BlockState arg0)
method_10484(class_2680 arg0)
connectsTo(BlockState state)
func_176346_d(BlockState arg0)
protected static boolean
a(byj arg0, fp arg1)
shouldConnectTo(BlockState arg0, Direction arg1)
method_10482(class_2680 arg0, class_2350 arg1)
connectsTo(BlockState state, Direction dir)
func_176343_a(BlockState arg0, Direction arg1)
public boolean
f(byj arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
public BlockState
a(byj arg0, btu arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(byj arg0, bsu arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
protected void
a(byk$a<bph, byj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public static int
b(int arg0)
getColorForData(int arg0)
method_10487(int arg0)
getWireColor(int powerLevel)
func_176337_b(int arg0)
public void
a(byj arg0, bjw arg1, fk arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)