net.minecraft.world.level.block

public class RedStoneWireBlock

extends Block

All mapped superinterfaces:

ItemLike

cag
net.minecraft.world.level.block.RedStoneWireBlock
net.minecraft.class_2457
net.minecraft.unmapped.C_hbdlqish
net.minecraft.block.RedstoneWireBlock
net.minecraft.block.RedstoneWireBlock
net.minecraft.server.v1_16_R1.BlockRedstoneWire

Field summary

Modifier and TypeField
public static final EnumProperty<RedstoneSide>
a
NORTH
field_11440
f_isurntyc
WIRE_CONNECTION_NORTH
field_176348_a
NORTH
public static final EnumProperty<RedstoneSide>
b
EAST
field_11436
f_qomovzle
WIRE_CONNECTION_EAST
field_176347_b
EAST
public static final EnumProperty<RedstoneSide>
c
SOUTH
field_11437
f_fyjjmxtv
WIRE_CONNECTION_SOUTH
field_176349_M
SOUTH
public static final EnumProperty<RedstoneSide>
d
WEST
field_11439
f_lhkdefum
WIRE_CONNECTION_WEST
field_176350_N
WEST
public static final IntegerProperty
e
POWER
field_11432
f_bcvuxzmx
POWER
field_176351_O
POWER
public static final Map<Direction, EnumProperty<RedstoneSide>>
f
PROPERTY_BY_DIRECTION
field_11435
f_jjwmffoj
DIRECTION_TO_WIRE_CONNECTION_PROPERTY
field_196498_A
private static final VoxelShape
g
SHAPE_DOT
field_24413
f_awrxoajc
field_24413
field_235538_g_
private static final Map<Direction, VoxelShape>
h
SHAPES_FLOOR
field_24414
f_lsmbxxxx
field_24414
field_235539_h_
private static final Map<Direction, VoxelShape>
i
SHAPES_UP
field_24415
f_vvlqyglw
field_24415
field_235540_i_
private final Map<BlockState, VoxelShape>
j
SHAPES_CACHE
field_24416
f_tfkeexfj
field_24416
field_235541_j_
private static final Vector3f[]
k
COLORS
field_24466
f_laswtpnf
field_24466
field_235542_k_
private final BlockState
o
crossState
field_24733
f_ooedtwdp
dotShape
field_235543_o_
private boolean
p
shouldSignal
field_11438
f_quuiddba
wiresGivePower
field_150181_a

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
private VoxelShape
l(cfj arg0)
calculateShape(BlockState arg0)
method_27845(class_2680 arg0)
m_ooefnwhn(C_txtbiemp arg0)
method_27845(BlockState arg0)
func_235554_l_(BlockState arg0)
public VoxelShape
b(cfj arg0, bpg arg1, fu arg2, der 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)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public BlockState
a(bin arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
private BlockState
a(bpg arg0, cfj arg1, fu arg2)
getConnectionState(BlockGetter arg0, BlockState arg1, BlockPos arg2)
method_27840(class_1922 arg0, class_2680 arg1, class_2338 arg2)
m_gqzevazu(C_peaveboq arg0, C_txtbiemp arg1, C_hynzadkk arg2)
method_27840(BlockView world, BlockState state, BlockPos pos)
func_235544_a_(IBlockReader arg0, BlockState arg1, BlockPos arg2)
private BlockState
b(bpg arg0, cfj arg1, fu arg2)
getMissingConnections(BlockGetter arg0, BlockState arg1, BlockPos arg2)
method_27843(class_1922 arg0, class_2680 arg1, class_2338 arg2)
m_xhxffgip(C_peaveboq arg0, C_txtbiemp arg1, C_hynzadkk arg2)
method_27843(BlockView arg0, BlockState arg1, BlockPos arg2)
func_235551_b_(IBlockReader arg0, BlockState arg1, BlockPos arg2)
public BlockState
a(cfj arg0, fz arg1, cfj arg2, bqc arg3, fu arg4, fu 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)
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(cfj arg0)
isCross(BlockState arg0)
method_27846(class_2680 arg0)
m_zwvxalpq(C_txtbiemp arg0)
isFullyConnected(BlockState state)
func_235555_m_(BlockState arg0)
private static boolean
n(cfj arg0)
isDot(BlockState arg0)
method_28483(class_2680 arg0)
m_umyfwzyt(C_txtbiemp arg0)
isNotConnected(BlockState state)
func_235556_n_(BlockState arg0)
public void
a(cfj arg0, bqc arg1, fu 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)
m_lcpckfxn(C_txtbiemp arg0, C_vdvbsyle arg1, C_hynzadkk 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(bpg arg0, fu arg1, fz arg2)
getConnectingSide(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_10477(class_1922 arg0, class_2338 arg1, class_2350 arg2)
m_ycqcmrlz(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
getRenderConnectionType(BlockView arg0, BlockPos arg1, Direction arg2)
func_208074_a(IBlockReader arg0, BlockPos arg1, Direction arg2)
private RedstoneSide
a(bpg arg0, fu arg1, fz 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)
m_uvclsrei(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf 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(cfj arg0, bqd arg1, fu 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)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
private boolean
b(bpg arg0, fu arg1, cfj arg2)
canSurviveOn(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_27937(class_1922 arg0, class_2338 arg1, class_2680 arg2)
m_tegvovkt(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
canRunOnTop(BlockView world, BlockPos pos, BlockState floor)
func_235552_b_(IBlockReader arg0, BlockPos arg1, BlockState arg2)
private void
a(bqb arg0, fu arg1, cfj arg2)
updatePowerStrength(Level arg0, BlockPos arg1, BlockState arg2)
method_10485(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_pqfwfeyi(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
update(World world, BlockPos pos, BlockState state)
func_235547_a_(World arg0, BlockPos arg1, BlockState arg2)
private int
a(bqb arg0, fu arg1)
calculateTargetStrength(Level arg0, BlockPos arg1)
method_27842(class_1937 arg0, class_2338 arg1)
m_svuxqkjc(C_cdctfzbn arg0, C_hynzadkk arg1)
method_27842(World arg0, BlockPos arg1)
func_235546_a_(World arg0, BlockPos arg1)
private int
o(cfj arg0)
getWireSignal(BlockState arg0)
method_10486(class_2680 arg0)
m_vqrnuqhz(C_txtbiemp arg0)
increasePower(BlockState state)
func_235557_o_(BlockState arg0)
private void
b(bqb arg0, fu arg1)
checkCornerChangeAt(Level arg0, BlockPos arg1)
method_10479(class_1937 arg0, class_2338 arg1)
m_brufkqwu(C_cdctfzbn arg0, C_hynzadkk arg1)
updateNeighbors(World world, BlockPos pos)
func_176344_d(World arg0, BlockPos arg1)
public void
b(cfj arg0, bqb arg1, fu arg2, cfj 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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp 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(cfj arg0, bqb arg1, fu arg2, cfj 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)
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(bqb arg0, fu arg1)
updateNeighborsOfNeighboringWires(Level arg0, BlockPos arg1)
method_27844(class_1937 arg0, class_2338 arg1)
m_nxtwfpnw(C_cdctfzbn arg0, C_hynzadkk arg1)
method_27844(World arg0, BlockPos arg1)
func_235553_d_(World arg0, BlockPos arg1)
public void
a(cfj arg0, bqb arg1, fu arg2, bvr arg3, fu 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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk 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(cfj arg0, bpg arg1, fu arg2, fz 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)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public int
a(cfj arg0, bpg arg1, fu arg2, fz 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)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
protected static boolean
h(cfj arg0)
shouldConnectTo(BlockState arg0)
method_10484(class_2680 arg0)
m_fpgdlcmq(C_txtbiemp arg0)
connectsTo(BlockState state)
func_176346_d(BlockState arg0)
protected static boolean
a(cfj arg0, fz arg1)
shouldConnectTo(BlockState arg0, Direction arg1)
method_10482(class_2680 arg0, class_2350 arg1)
m_dbodizuz(C_txtbiemp arg0, C_xpuuihxf arg1)
connectsTo(BlockState state, Direction dir)
func_176343_a(BlockState arg0, Direction arg1)
public boolean
b_(cfj arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
public BlockState
a(cfj arg0, cap 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)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(cfj arg0, bzj 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)
func_185471_a(BlockState arg0, Mirror arg1)
protected void
a(cfk$a<bvr, cfj> 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)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public InteractionResult
a(cfj arg0, bqb arg1, fu arg2, bec arg3, anf arg4, deh 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)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms 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(bqb arg0, fu arg1, cfj arg2, cfj arg3)
updatesOnShapeChange(Level arg0, BlockPos arg1, BlockState arg2, BlockState arg3)
method_28482(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2680 arg3)
m_jsaztxkb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_txtbiemp arg3)
method_28482(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3)
func_235548_a_(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3)
public static int
b(int arg0)
getColorForPower(int arg0)
method_10487(int arg0)
m_kofgxicj(int arg0)
getWireColor(int powerLevel)
func_235550_b_(int arg0)
private void
a(bqb arg0, Random arg1, fu arg2, g arg3, fz arg4, fz 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)
m_nmxjtrcu(C_cdctfzbn arg0, Random arg1, C_hynzadkk arg2, C_zviwfwgf arg3, C_xpuuihxf arg4, C_xpuuihxf arg5, float arg6, float arg7)
method_27936(World arg0, Random arg1, BlockPos arg2, Vector3f 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(cfj arg0, bqb arg1, fu 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)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)