net.minecraft.world.level.block

public class RedStoneWireBlock

extends Block

All mapped superinterfaces:

ItemLike

bzd
net.minecraft.world.level.block.RedStoneWireBlock
net.minecraft.class_2457
net.minecraft.block.RedstoneWireBlock
net.minecraft.block.RedstoneWireBlock
net.minecraft.server.v1_16_R3.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
private static final VoxelShape
g
SHAPE_DOT
field_24413
DOT_SHAPE
field_235538_g_
private static final Map<Direction, VoxelShape>
h
SHAPES_FLOOR
field_24414
field_24414
field_235539_h_
private static final Map<Direction, VoxelShape>
i
SHAPES_UP
field_24415
field_24415
field_235540_i_
private final Map<BlockState, VoxelShape>
j
SHAPES_CACHE
field_24416
field_24416
field_235541_j_
private static final Vector3f[]
k
COLORS
field_24466
field_24466
field_235542_k_
private final BlockState
o
crossState
field_24733
dotState
field_235543_o_
private boolean
p
shouldSignal
field_11438
wiresGivePower
field_150181_a

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
private VoxelShape
l(ceh arg0)
calculateShape(BlockState arg0)
method_27845(class_2680 arg0)
getShapeForState(BlockState state)
func_235554_l_(BlockState arg0)
public VoxelShape
b(ceh arg0, brc arg1, fx arg2, dcs 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)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public BlockState
a(bny arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
private BlockState
a(brc arg0, ceh arg1, fx arg2)
getConnectionState(BlockGetter arg0, BlockState arg1, BlockPos arg2)
method_27840(class_1922 arg0, class_2680 arg1, class_2338 arg2)
getPlacementState(BlockView world, BlockState state, BlockPos pos)
func_235544_a_(IBlockReader arg0, BlockState arg1, BlockPos arg2)
private BlockState
b(brc arg0, ceh arg1, fx arg2)
getMissingConnections(BlockGetter arg0, BlockState arg1, BlockPos arg2)
method_27843(class_1922 arg0, class_2680 arg1, class_2338 arg2)
method_27843(BlockView world, BlockState state, BlockPos pos)
func_235551_b_(IBlockReader arg0, BlockState arg1, BlockPos arg2)
public BlockState
a(ceh arg0, gc arg1, ceh arg2, bry arg3, fx arg4, fx 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)
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)
private static boolean
m(ceh arg0)
isCross(BlockState arg0)
method_27846(class_2680 arg0)
isFullyConnected(BlockState state)
func_235555_m_(BlockState arg0)
private static boolean
n(ceh arg0)
isDot(BlockState arg0)
method_28483(class_2680 arg0)
isNotConnected(BlockState state)
func_235556_n_(BlockState arg0)
public void
a(ceh arg0, bry arg1, fx arg2, int arg3, int arg4)
updateIndirectNeighbourShapes(BlockState arg0, LevelAccessor arg1, BlockPos arg2, int arg3, int arg4)
method_9517(class_2680 arg0, class_1936 arg1, class_2338 arg2, int arg3, int arg4)
prepare(BlockState arg0, WorldAccess arg1, BlockPos arg2, int arg3, int arg4)
func_196248_b(BlockState arg0, IWorld arg1, BlockPos arg2, int arg3, int arg4)
private RedstoneSide
a(brc arg0, fx arg1, gc arg2)
getConnectingSide(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_10477(class_1922 arg0, class_2338 arg1, class_2350 arg2)
getRenderConnectionType(BlockView world, BlockPos pos, Direction direction)
func_208074_a(IBlockReader arg0, BlockPos arg1, Direction arg2)
private RedstoneSide
a(brc arg0, fx arg1, gc arg2, boolean arg3)
getConnectingSide(BlockGetter arg0, BlockPos arg1, Direction arg2, boolean arg3)
method_27841(class_1922 arg0, class_2338 arg1, class_2350 arg2, boolean arg3)
method_27841(BlockView arg0, BlockPos arg1, Direction arg2, boolean arg3)
func_235545_a_(IBlockReader arg0, BlockPos arg1, Direction arg2, boolean arg3)
public boolean
a(ceh arg0, brz arg1, fx 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 boolean
b(brc arg0, fx arg1, ceh arg2)
canSurviveOn(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_27937(class_1922 arg0, class_2338 arg1, class_2680 arg2)
canRunOnTop(BlockView world, BlockPos pos, BlockState floor)
func_235552_b_(IBlockReader arg0, BlockPos arg1, BlockState arg2)
private void
a(brx arg0, fx arg1, ceh 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_235547_a_(World arg0, BlockPos arg1, BlockState arg2)
private int
a(brx arg0, fx arg1)
calculateTargetStrength(Level arg0, BlockPos arg1)
method_27842(class_1937 arg0, class_2338 arg1)
getReceivedRedstonePower(World world, BlockPos pos)
func_235546_a_(World arg0, BlockPos arg1)
private int
o(ceh arg0)
getWireSignal(BlockState arg0)
method_10486(class_2680 arg0)
increasePower(BlockState state)
func_235557_o_(BlockState arg0)
private void
b(brx arg0, fx 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(ceh arg0, brx arg1, fx arg2, ceh 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(ceh arg0, brx arg1, fx arg2, ceh 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)
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 void
d(brx arg0, fx arg1)
updateNeighborsOfNeighboringWires(Level arg0, BlockPos arg1)
method_27844(class_1937 arg0, class_2338 arg1)
updateOffsetNeighbors(World world, BlockPos pos)
func_235553_d_(World arg0, BlockPos arg1)
public void
a(ceh arg0, brx arg1, fx arg2, buo arg3, fx 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(ceh arg0, brc arg1, fx arg2, gc 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(ceh arg0, brc arg1, fx arg2, gc 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)
protected static boolean
h(ceh arg0)
shouldConnectTo(BlockState arg0)
method_10484(class_2680 arg0)
connectsTo(BlockState state)
func_176346_d(BlockState arg0)
protected static boolean
a(ceh arg0, gc 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
b_(ceh arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
public BlockState
a(ceh arg0, bzm 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(ceh arg0, byg 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(cei$a<buo, ceh> 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 InteractionResult
a(ceh arg0, brx arg1, fx arg2, bfw arg3, aot arg4, dcj arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
private void
a(brx arg0, fx arg1, ceh arg2, ceh arg3)
updatesOnShapeChange(Level arg0, BlockPos arg1, BlockState arg2, BlockState arg3)
method_28482(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2680 arg3)
updateForNewState(World world, BlockPos pos, BlockState oldState, BlockState newState)
func_235548_a_(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3)
public static int
b(int arg0)
getColorForPower(int arg0)
method_10487(int arg0)
getWireColor(int powerLevel)
func_235550_b_(int arg0)
private void
a(brx arg0, Random arg1, fx arg2, g arg3, gc arg4, gc arg5, float arg6, float arg7)
spawnParticlesAlongLine(Level arg0, Random arg1, BlockPos arg2, Vector3f arg3, Direction arg4, Direction arg5, float arg6, float arg7)
method_27936(class_1937 arg0, Random arg1, class_2338 arg2, class_1160 arg3, class_2350 arg4, class_2350 arg5, float arg6, float arg7)
method_27936(World world, Random random, BlockPos pos, Vec3f arg3, Direction arg4, Direction arg5, float arg6, float arg7)
func_235549_a_(World arg0, Random arg1, BlockPos arg2, Vector3f arg3, Direction arg4, Direction arg5, float arg6, float arg7)
public void
a(ceh arg0, brx arg1, fx 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)