Package net.minecraft.block
Class RedstoneTorchBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TorchBlock
net.minecraft.block.RedstoneTorchBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_619glue class_74server byclient dbnamed net/minecraft/block/RedstoneTorchBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
BED, BEDROCK, BLOCKS, BLOCKS_ALLOW_VISION, BLOCKS_IGNORE_META_UPDATE, BLOCKS_LIGHT_LUMINANCE, BLOCKS_LIGHT_OPACITY, BLOCKS_OPAQUE, BLOCKS_RANDOM_TICK, BLOCKS_WITH_ENTITY, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, constructed, CRAFTING_TABLE, DANDELION, DEAD_BUSH, DEFAULT_SOUND_GROUP, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DIRT_SOUND_GROUP, DISPENSER, DOOR, DOUBLE_SLAB, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FURNACE, GLASS, GLASS_SOUND_GROUP, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_BLOCK, GRAVEL, GRAVEL_SOUND_GROUP, hardness, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVES, LEVER, LIT_FURNACE, LIT_REDSTONE_ORE, LIT_REDSTONE_TORCH, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUND_GROUP, minX, minY, minZ, MOSSY_COBBLESTONE, MOVING_PISTON, NETHER_PORTAL, NETHERRACK, NOTE_BLOCK, OBSIDIAN, particleFallSpeedModifier, PISTON, PISTON_HEAD, PLANKS, POWERED_RAIL, POWERED_REPEATER, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REPEATER, resistance, ROSE, SAND, SAND_SOUND_GROUP, SANDSTONE, SAPLING, shouldTrackStatistics, SIGN, SLAB, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, soundGroup, SPAWNER, SPONGE, STICKY_PISTON, STONE, STONE_PRESSURE_PLATE, STONE_SOUND_GROUP, SUGAR_CANE, textureId, TNT, TORCH, TRAPDOOR, WALL_SIGN, WATER, WHEAT, WOOD_SOUND_GROUP, WOODEN_PRESSURE_PLATE, WOODEN_STAIRS, WOOL, WOOL_SOUND_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanTransferPowerInDirection(World world, int x, int y, int z, int direction) intgetDroppedItemId(int blockMeta, Random random) intgetTexture(int side, int meta) intbooleanisEmittingRedstonePower(BlockView blockView, int x, int y, int z, int meta) private booleanmethod_2038(World world, int x, int y, int z, boolean bool) private booleanmethod_2039(World world, int x, int y, int z) voidneighborUpdate(World world, int x, int y, int z, int id) voidvoidvoidCalled at a frequency based on the return value ofBlock.getTickRate().voidrandomDisplayTick(World world, int x, int y, int z, Random random) Methods inherited from class net.minecraft.block.TorchBlock
canPlaceAt, getCollisionShape, getRenderType, isFullCube, isOpaque, onPlaced, raycastMethods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, applyVelocity, canGrow, canPlaceAt, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getColor, getColorMultiplier, getDroppedItemCount, getDroppedItemMeta, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getTexture, getTextureId, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isSideVisible, isSolidBlock, isTrackingStatistics, onBlockAction, onBlockBreakStart, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onSteppedOn, onUse, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox, updateBoundingBox
-
Field Details
-
field_2686
- Mappings:
Namespace Name Mixin selector intermediary field_2686Lnet/minecraft/class_619;field_2686:Ljava/util/List;glue field_165Lclass_74;field_165:Ljava/util/List;server bLby;b:Ljava/util/List;client bLdb;b:Ljava/util/List;named field_2686Lnet/minecraft/block/RedstoneTorchBlock;field_2686:Ljava/util/List;
-
lit
private boolean lit- Mappings:
Namespace Name Mixin selector intermediary field_2685Lnet/minecraft/class_619;field_2685:Zglue field_164Lclass_74;field_164:Zserver aLby;a:Zclient aLdb;a:Znamed litLnet/minecraft/block/RedstoneTorchBlock;lit:Z
-
-
Constructor Details
-
RedstoneTorchBlock
protected RedstoneTorchBlock(int id, int textureId, boolean lit) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_619;<init>(IIZ)Vglue <init>Lclass_74;<init>(IIZ)Vserver <init>Lby;<init>(IIZ)Vclient <init>Ldb;<init>(IIZ)Vnamed <init>Lnet/minecraft/block/RedstoneTorchBlock;<init>(IIZ)V
-
-
Method Details
-
getTexture
public int getTexture(int side, int meta) - Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1627Lnet/minecraft/class_17;method_1627(II)Iglue method_96Lclass_507;method_96(II)Iserver aLna;a(II)Iclient aLuu;a(II)Inamed getTextureLnet/minecraft/block/Block;getTexture(II)I
-
method_2038
- Mappings:
Namespace Name Mixin selector intermediary method_2038Lnet/minecraft/class_619;method_2038(Lnet/minecraft/class_18;IIIZ)Zglue method_233Lclass_74;method_233(Lclass_129;IIIZ)Zserver aLby;a(Ldj;IIIZ)Zclient aLdb;a(Lfd;IIIZ)Znamed method_2038Lnet/minecraft/block/RedstoneTorchBlock;method_2038(Lnet/minecraft/world/World;IIIZ)Z
-
getTickRate
public int getTickRate()- Overrides:
getTickRatein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1565Lnet/minecraft/class_17;method_1565()Iglue method_123Lclass_507;method_123()Iserver cLna;c()Iclient eLuu;e()Inamed getTickRateLnet/minecraft/block/Block;getTickRate()I
-
onPlaced
- Overrides:
onPlacedin classTorchBlock- Mappings:
Namespace Name Mixin selector intermediary method_1611Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)Vglue method_41Lclass_507;method_41(Lclass_129;III)Vserver cLna;c(Ldj;III)Vclient cLuu;c(Lfd;III)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;III)V
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1630Lnet/minecraft/class_17;method_1630(Lnet/minecraft/class_18;III)Vglue method_99Lclass_507;method_99(Lclass_129;III)Vserver bLna;b(Ldj;III)Vclient bLuu;b(Lfd;III)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;III)V
-
isEmittingRedstonePower
- Overrides:
isEmittingRedstonePowerin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1568Lnet/minecraft/class_17;method_1568(Lnet/minecraft/class_14;IIII)Zglue method_154Lclass_507;method_154(Lclass_584;IIII)Zserver aLna;a(Lpb;IIII)Zclient cLuu;c(Lxp;IIII)Znamed isEmittingRedstonePowerLnet/minecraft/block/Block;isEmittingRedstonePower(Lnet/minecraft/world/BlockView;IIII)Z
-
method_2039
- Mappings:
Namespace Name Mixin selector intermediary method_2039Lnet/minecraft/class_619;method_2039(Lnet/minecraft/class_18;III)Zglue method_234Lclass_74;method_234(Lclass_129;III)Zserver gLby;g(Ldj;III)Zclient hLdb;h(Lfd;III)Znamed method_2039Lnet/minecraft/block/RedstoneTorchBlock;method_2039(Lnet/minecraft/world/World;III)Z
-
onTick
Called at a frequency based on the return value ofBlock.getTickRate(). This method will be called approximatelyBlock.getTickRate()times per second.- Overrides:
onTickin classTorchBlock- Mappings:
Namespace Name Mixin selector intermediary method_1602Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_20Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)Vserver aLna;a(Ldj;IIILjava/util/Random;)Vclient aLuu;a(Lfd;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
neighborUpdate
- Overrides:
neighborUpdatein classTorchBlock- Mappings:
Namespace Name Mixin selector intermediary method_1609Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)Vglue method_39Lclass_507;method_39(Lclass_129;IIII)Vserver bLna;b(Ldj;IIII)Vclient bLuu;b(Lfd;IIII)Vnamed neighborUpdateLnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;IIII)V
-
canTransferPowerInDirection
- Overrides:
canTransferPowerInDirectionin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1570Lnet/minecraft/class_17;method_1570(Lnet/minecraft/class_18;IIII)Zglue method_156Lclass_507;method_156(Lclass_129;IIII)Zserver dLna;d(Ldj;IIII)Zclient dLuu;d(Lfd;IIII)Znamed canTransferPowerInDirectionLnet/minecraft/block/Block;canTransferPowerInDirection(Lnet/minecraft/world/World;IIII)Z
-
getDroppedItemId
- Overrides:
getDroppedItemIdin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1601Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)Iglue method_19Lclass_507;method_19(ILjava/util/Random;)Iserver aLna;a(ILjava/util/Random;)Iclient aLuu;a(ILjava/util/Random;)Inamed getDroppedItemIdLnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
-
canEmitRedstonePower
public boolean canEmitRedstonePower()- Overrides:
canEmitRedstonePowerin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1569Lnet/minecraft/class_17;method_1569()Zglue method_155Lclass_507;method_155()Zserver dLna;d()Zclient fLuu;f()Znamed canEmitRedstonePowerLnet/minecraft/block/Block;canEmitRedstonePower()Z
-
randomDisplayTick
- Overrides:
randomDisplayTickin classTorchBlock- Mappings:
Namespace Name Mixin selector intermediary method_1617Lnet/minecraft/class_17;method_1617(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_62Lclass_507;method_62(Lclass_129;IIILjava/util/Random;)Vserver method_1617Lna;method_1617(Ldj;IIILjava/util/Random;)Vclient bLuu;b(Lfd;IIILjava/util/Random;)Vnamed randomDisplayTickLnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-