Package net.minecraft.block
Class RedstoneTorchBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TorchBlock
net.minecraft.block.RedstoneTorchBlock
- Mappings:
Namespace Name official alnintermediary net/minecraft/class_164named net/minecraft/block/RedstoneTorchBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbreakNaturally(World world, int x, int y, int z) booleanReturns whether the current block emits a redstone signal.intgetStrongRedstonePower(BlockView world, int x, int y, int z, int direction) intgetTickRate(World world) Returns the block's tick rate.intgetWeakRedstonePower(BlockView world, int x, int y, int z, int direction) booleanReturns whether the current block and another block are equalprivate booleanmethod_346(World world, int int2, int int3, int int4, boolean bool) private booleanmethod_347(World world, int int2, int int3, int int4) method_398(int int2, Random random, int int3) method_407(World world, int int2, int int3, int int4) voidmethod_411(World world, int int2, int int3, int int4, Block block, int int5) voidmethod_415(World world, int int2, int int3, int int4, Random random) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidMethods inherited from class net.minecraft.block.TorchBlock
canPlaceBlockAt, getBlockType, hasTransperancy, method_414, method_4185, method_454, method_4801, method_490, renderAsNormalBlockMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, canStayPlaced, canStayPlaced, disableStats, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getCollisionBox, getColor, getDropCount, getHardness, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getTexture, getTextureName, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, method_410, method_412, method_413, method_417, method_418, method_4186, method_420, method_422, method_424, method_425, method_428, method_431, method_435, method_437, method_438, method_446, method_448, method_452, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, registerTextures, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_293
- Mappings:
Namespace Name Mixin selector official bLaln;b:Ljava/util/Map;intermediary field_293Lnet/minecraft/class_164;field_293:Ljava/util/Map;named field_293Lnet/minecraft/block/RedstoneTorchBlock;field_293:Ljava/util/Map;
-
field_292
private boolean field_292- Mappings:
Namespace Name Mixin selector official aLaln;a:Zintermediary field_292Lnet/minecraft/class_164;field_292:Znamed field_292Lnet/minecraft/block/RedstoneTorchBlock;field_292:Z
-
-
Constructor Details
-
RedstoneTorchBlock
protected RedstoneTorchBlock(boolean bool)
-
-
Method Details
-
method_346
- Mappings:
Namespace Name Mixin selector official aLaln;a(Lafm;IIIZ)Zintermediary method_346Lnet/minecraft/class_164;method_346(Lnet/minecraft/class_1150;IIIZ)Znamed method_346Lnet/minecraft/block/RedstoneTorchBlock;method_346(Lnet/minecraft/world/World;IIIZ)Z
-
getTickRate
Returns the block's tick rate. Default is 10.- Overrides:
getTickRatein classBlock- Parameters:
world- The world that the block is placed in- Returns:
- Tick rate
- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;)Iintermediary method_4789Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)Inamed getTickRateLnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
-
breakNaturally
- Overrides:
breakNaturallyin classTorchBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;III)Vintermediary method_460Lnet/minecraft/class_197;method_460(Lnet/minecraft/class_1150;III)Vnamed breakNaturallyLnet/minecraft/block/Block;breakNaturally(Lnet/minecraft/world/World;III)V
-
method_411
- Overrides:
method_411in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;I)Vintermediary method_411Lnet/minecraft/class_197;method_411(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;I)Vnamed method_411Lnet/minecraft/block/Block;method_411(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;I)V
-
getWeakRedstonePower
- Overrides:
getWeakRedstonePowerin classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafw;IIII)Iintermediary method_426Lnet/minecraft/class_197;method_426(Lnet/minecraft/class_1158;IIII)Inamed getWeakRedstonePowerLnet/minecraft/block/Block;getWeakRedstonePower(Lnet/minecraft/world/BlockView;IIII)I
-
method_347
- Mappings:
Namespace Name Mixin selector official mLaln;m(Lafm;III)Zintermediary method_347Lnet/minecraft/class_164;method_347(Lnet/minecraft/class_1150;III)Znamed method_347Lnet/minecraft/block/RedstoneTorchBlock;method_347(Lnet/minecraft/world/World;III)Z
-
onTick
- Overrides:
onTickin classTorchBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILjava/util/Random;)Vintermediary method_436Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
onNeighborUpdate
- Overrides:
onNeighborUpdatein classTorchBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;)Vintermediary method_408Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Vnamed onNeighborUpdateLnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
-
getStrongRedstonePower
- Overrides:
getStrongRedstonePowerin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c(Lafw;IIII)Iintermediary method_444Lnet/minecraft/class_197;method_444(Lnet/minecraft/class_1158;IIII)Inamed getStrongRedstonePowerLnet/minecraft/block/Block;getStrongRedstonePower(Lnet/minecraft/world/BlockView;IIII)I
-
method_398
- Overrides:
method_398in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;I)Labm;intermediary method_398Lnet/minecraft/class_197;method_398(ILjava/util/Random;I)Lnet/minecraft/class_1069;named method_398Lnet/minecraft/block/Block;method_398(ILjava/util/Random;I)Lnet/minecraft/item/Item;
-
emitsRedstonePower
public boolean emitsRedstonePower()Returns whether the current block emits a redstone signal. Used by comparators, Redstone Blocks, etc.- Overrides:
emitsRedstonePowerin classBlock- Returns:
- Whether the current block emits a redstone signal
- Mappings:
Namespace Name Mixin selector official fLaht;f()Zintermediary method_466Lnet/minecraft/class_197;method_466()Znamed emitsRedstonePowerLnet/minecraft/block/Block;emitsRedstonePower()Z
-
method_415
@Environment(CLIENT) public void method_415(World world, int int2, int int3, int int4, Random random) - Overrides:
method_415in classTorchBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;IIILjava/util/Random;)Vintermediary method_415Lnet/minecraft/class_197;method_415(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed method_415Lnet/minecraft/block/Block;method_415(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_407
- Overrides:
method_407in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;III)Labm;intermediary method_407Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;named method_407Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;
-
isEqualTo
Returns whether the current block and another block are equal- Overrides:
isEqualToin classBlock- Parameters:
block- The other block- Returns:
- Whether the current block and the other block are equal
- Mappings:
Namespace Name Mixin selector official cLaht;c(Laht;)Zintermediary method_6447Lnet/minecraft/class_197;method_6447(Lnet/minecraft/class_197;)Znamed isEqualToLnet/minecraft/block/Block;isEqualTo(Lnet/minecraft/block/Block;)Z
-