net.minecraft.block

public class RedstoneWireBlock

extends Block

All mapped superinterfaces:

ItemConvertible

bzd
net.minecraft.world.level.block.RedStoneWireBlock
net.minecraft.class_2457
net.minecraft.block.RedstoneWireBlock
net.minecraft.unmapped.C_hbdlqish
net.minecraft.block.RedstoneWireBlock
net.minecraft.block.RedstoneWireBlock

Field summary

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

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings arg0)

Method summary

Modifier and TypeMethod
private VoxelShape
l(ceh arg0)
calculateShape(BlockState arg0)
method_27845(class_2680 arg0)
method_27845(BlockState state)
m_ooefnwhn(C_txtbiemp arg0)
func_235554_l_(BlockState arg0)
getShapeForState(BlockState state)
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)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public BlockState
a(bny arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_iwedynhy(C_aiootljq arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext 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)
method_27840(BlockView world, BlockState state, BlockPos pos)
m_gqzevazu(C_peaveboq arg0, C_txtbiemp arg1, C_hynzadkk arg2)
func_235544_a_(IBlockReader arg0, BlockState arg1, BlockPos arg2)
getUpdatedState(IBlockReader reader, BlockState state, BlockPos pos)
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)
m_xhxffgip(C_peaveboq arg0, C_txtbiemp arg1, C_hynzadkk arg2)
func_235551_b_(IBlockReader arg0, BlockState arg1, BlockPos arg2)
recalculateFacingState(IBlockReader reader, BlockState state, BlockPos pos)
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)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updatePostPlacement(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
private static boolean
m(ceh arg0)
isCross(BlockState arg0)
method_27846(class_2680 arg0)
isFullyConnected(BlockState state)
m_zwvxalpq(C_txtbiemp arg0)
func_235555_m_(BlockState arg0)
areAllSidesValid(BlockState state)
private static boolean
n(ceh arg0)
isDot(BlockState arg0)
method_28483(class_2680 arg0)
isNotConnected(BlockState state)
m_umyfwzyt(C_txtbiemp arg0)
func_235556_n_(BlockState arg0)
areAllSidesInvalid(BlockState state)
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)
m_lcpckfxn(C_txtbiemp arg0, C_vdvbsyle arg1, C_hynzadkk arg2, int arg3, int arg4)
func_196248_b(BlockState arg0, IWorld arg1, BlockPos arg2, int arg3, int arg4)
updateDiagonalNeighbors(BlockState arg0, IWorld arg1, BlockPos arg2, int arg3, int arg4)
private WireConnection
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 arg0, BlockPos arg1, Direction arg2)
m_ycqcmrlz(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
func_208074_a(IBlockReader arg0, BlockPos arg1, Direction arg2)
getSide(IBlockReader worldIn, BlockPos pos, Direction face)
private WireConnection
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)
m_uvclsrei(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2, boolean arg3)
func_235545_a_(IBlockReader arg0, BlockPos arg1, Direction arg2, boolean arg3)
recalculateSide(IBlockReader reader, BlockPos pos, Direction direction, boolean nonNormalCubeAbove)
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)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
isValidPosition(BlockState arg0, IWorldReader arg1, BlockPos 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)
m_tegvovkt(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
func_235552_b_(IBlockReader arg0, BlockPos arg1, BlockState arg2)
canPlaceOnTopOf(IBlockReader reader, BlockPos pos, BlockState state)
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)
m_pqfwfeyi(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
func_235547_a_(World arg0, BlockPos arg1, BlockState arg2)
updatePower(World world, BlockPos pos, BlockState state)
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)
m_svuxqkjc(C_cdctfzbn arg0, C_hynzadkk arg1)
func_235546_a_(World arg0, BlockPos arg1)
getStrongestSignal(World world, BlockPos pos)
private int
o(ceh arg0)
getWireSignal(BlockState arg0)
method_10486(class_2680 arg0)
increasePower(BlockState state)
m_vqrnuqhz(C_txtbiemp arg0)
func_235557_o_(BlockState arg0)
getPower(BlockState state)
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)
m_brufkqwu(C_cdctfzbn arg0, C_hynzadkk arg1)
func_176344_d(World arg0, BlockPos arg1)
notifyWireNeighborsOfStateChange(World worldIn, BlockPos pos)
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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
private void
d(brx arg0, fx arg1)
updateNeighborsOfNeighboringWires(Level arg0, BlockPos arg1)
method_27844(class_1937 arg0, class_2338 arg1)
method_27844(World world, BlockPos pos)
m_nxtwfpnw(C_cdctfzbn arg0, C_hynzadkk arg1)
func_235553_d_(World arg0, BlockPos arg1)
updateNeighboursStateChange(World world, BlockPos pos)
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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk arg4, boolean arg5)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
neighborChanged(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos 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)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getStrongPower(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)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getWeakPower(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)
m_fpgdlcmq(C_txtbiemp arg0)
func_176346_d(BlockState arg0)
canConnectUpwardsTo(BlockState state)
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)
m_dbodizuz(C_txtbiemp arg0, C_xpuuihxf arg1)
func_176343_a(BlockState arg0, Direction arg1)
canConnectTo(BlockState blockState, Direction side)
public boolean
b_(ceh arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_fjkbizwn(C_txtbiemp arg0)
func_149744_f(BlockState arg0)
canProvidePower(BlockState 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)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
func_185499_a(BlockState arg0, Rotation arg1)
rotate(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)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
func_185471_a(BlockState arg0, Mirror arg1)
mirror(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)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public ActionResult
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)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
onBlockActivated(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult 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)
method_28482(World world, BlockPos pos, BlockState arg2, BlockState arg3)
m_jsaztxkb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_txtbiemp arg3)
func_235548_a_(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3)
updateChangedConnections(World world, BlockPos pos, BlockState prevState, BlockState newState)
public static int
b(int arg0)
getColorForPower(int arg0)
method_10487(int arg0)
getWireColor(int powerLevel)
m_kofgxicj(int arg0)
func_235550_b_(int arg0)
getRGBByPower(int power)
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, Vector3f arg3, Direction arg4, Direction 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)
func_235549_a_(World arg0, Random arg1, BlockPos arg2, Vector3f arg3, Direction arg4, Direction arg5, float arg6, float arg7)
spawnPoweredParticle(World world, Random rand, BlockPos pos, Vector3f rgbVector, Direction directionFrom, Direction directionTo, float minChance, float maxChance)
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)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
animateTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)