Package net.minecraft.block
Class RepeaterBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.RepeaterBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_510glue class_556server oiclient wonamed net/minecraft/block/RepeaterBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double[]private static final int[]private final booleanFields 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 TypeMethodDescriptionbooleanbooleanbooleancanPlaceAt(World world, int x, int y, int z) booleancanTransferPowerInDirection(World world, int x, int y, int z, int direction) intgetDroppedItemId(int blockMeta, Random random) intintgetTexture(int side) intgetTexture(int side, int meta) booleanisEmittingRedstonePower(BlockView blockView, int x, int y, int z, int meta) booleanbooleanisOpaque()booleanisSideVisible(BlockView blockView, int x, int y, int z, int side) private booleanmethod_1728(World world, int x, int y, int z, int int2) voidneighborUpdate(World world, int x, int y, int z, int id) voidvoidonPlaced(World world, int x, int y, int z, LivingEntity placer) voidCalled at a frequency based on the return value ofBlock.getTickRate().booleanonUse(World world, int x, int y, int z, PlayerEntity player) voidrandomDisplayTick(World world, int x, int y, int z, Random random) Methods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, applyVelocity, canPlaceAt, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getCollisionShape, getColor, getColorMultiplier, getDroppedItemCount, getDroppedItemMeta, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getTextureId, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isSolidBlock, isTrackingStatistics, onBlockAction, onBlockBreakStart, onBreak, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onSteppedOn, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox, updateBoundingBox
-
Field Details
-
field_2123
public static final double[] field_2123- Mappings:
Namespace Name Mixin selector intermediary field_2123Lnet/minecraft/class_510;field_2123:[Dglue field_2345Lclass_556;field_2345:[Dserver aLoi;a:[Dclient aLwo;a:[Dnamed field_2123Lnet/minecraft/block/RepeaterBlock;field_2123:[D
-
field_2124
private static final int[] field_2124- Mappings:
Namespace Name Mixin selector intermediary field_2124Lnet/minecraft/class_510;field_2124:[Iglue field_2346Lclass_556;field_2346:[Iserver bLoi;b:[Iclient bLwo;b:[Inamed field_2124Lnet/minecraft/block/RepeaterBlock;field_2124:[I
-
lit
private final boolean lit- Mappings:
Namespace Name Mixin selector intermediary field_2125Lnet/minecraft/class_510;field_2125:Zglue field_2347Lclass_556;field_2347:Zserver cLoi;c:Zclient cLwo;c:Znamed litLnet/minecraft/block/RepeaterBlock;lit:Z
-
-
Constructor Details
-
RepeaterBlock
protected RepeaterBlock(int id, boolean lit) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_510;<init>(IZ)Vglue <init>Lclass_556;<init>(IZ)Vserver <init>Loi;<init>(IZ)Vclient <init>Lwo;<init>(IZ)Vnamed <init>Lnet/minecraft/block/RepeaterBlock;<init>(IZ)V
-
-
Method Details
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1623Lnet/minecraft/class_17;method_1623()Zglue method_66Lclass_507;method_66()Zserver bLna;b()Zclient dLuu;d()Znamed isFullCubeLnet/minecraft/block/Block;isFullCube()Z
-
canPlaceAt
- Overrides:
canPlaceAtin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1567Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Zglue method_153Lclass_507;method_153(Lclass_129;III)Zserver aLna;a(Ldj;III)Zclient aLuu;a(Lfd;III)Znamed canPlaceAtLnet/minecraft/block/Block;canPlaceAt(Lnet/minecraft/world/World;III)Z
-
canGrow
- Overrides:
canGrowin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1566Lnet/minecraft/class_17;method_1566(Lnet/minecraft/class_18;III)Zglue method_1425Lclass_507;method_1425(Lclass_129;III)Zserver fLna;f(Ldj;III)Zclient gLuu;g(Lfd;III)Znamed canGrowLnet/minecraft/block/Block;canGrow(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 classBlock- 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
-
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
-
isSideVisible
@Environment(CLIENT) public boolean isSideVisible(BlockView blockView, int x, int y, int z, int side) - Overrides:
isSideVisiblein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1618Lnet/minecraft/class_17;method_1618(Lnet/minecraft/class_14;IIII)Zglue method_63Lclass_507;method_63(Lclass_584;IIII)Zserver method_1618Lna;method_1618(Lpb;IIII)Zclient bLuu;b(Lxp;IIII)Znamed isSideVisibleLnet/minecraft/block/Block;isSideVisible(Lnet/minecraft/world/BlockView;IIII)Z
-
getRenderType
- Overrides:
getRenderTypein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1621Lnet/minecraft/class_17;method_1621()Iglue method_652Lclass_507;method_652()Iserver method_1621Lna;method_1621()Iclient bLuu;b()Inamed getRenderTypeLnet/minecraft/block/Block;getRenderType()I
-
getTexture
public int getTexture(int side) - Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1607Lnet/minecraft/class_17;method_1607(I)Iglue method_37Lclass_507;method_37(I)Iserver aLna;a(I)Iclient aLuu;a(I)Inamed getTextureLnet/minecraft/block/Block;getTexture(I)I
-
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
-
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
-
neighborUpdate
- Overrides:
neighborUpdatein classBlock- 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
-
method_1728
- Mappings:
Namespace Name Mixin selector intermediary method_1728Lnet/minecraft/class_510;method_1728(Lnet/minecraft/class_18;IIII)Zglue method_2007Lclass_556;method_2007(Lclass_129;IIII)Zserver fLoi;f(Ldj;IIII)Zclient fLwo;f(Lfd;IIII)Znamed method_1728Lnet/minecraft/block/RepeaterBlock;method_1728(Lnet/minecraft/world/World;IIII)Z
-
onUse
- Overrides:
onUsein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1608Lnet/minecraft/class_17;method_1608(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Zglue method_38Lclass_507;method_38(Lclass_129;IIILclass_172;)Zserver aLna;a(Ldj;IIILem;)Zclient aLuu;a(Lfd;IIILgs;)Znamed onUseLnet/minecraft/block/Block;onUse(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)Z
-
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
-
onPlaced
- Overrides:
onPlacedin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1614Lnet/minecraft/class_17;method_1614(Lnet/minecraft/class_18;IIILnet/minecraft/class_127;)Vglue method_464Lclass_507;method_464(Lclass_129;IIILclass_283;)Vserver aLna;a(Ldj;IIILhl;)Vclient aLuu;a(Lfd;IIILls;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;)V
-
onPlaced
- Overrides:
onPlacedin classBlock- 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
-
isOpaque
public boolean isOpaque() -
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
-
randomDisplayTick
- Overrides:
randomDisplayTickin classBlock- 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
-