Package net.minecraft.block
Class DetectorRail
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Rail
net.minecraft.block.DetectorRail
- Mappings:
Namespace Name intermediary net/minecraft/class_342glue class_365server jnclient phnamed net/minecraft/block/DetectorRail
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Rail
Rail.RailMagicStuff -
Field Summary
Fields inherited from class net.minecraft.block.BlockBase
ALLOWS_GRASS_UNDER, BED, BEDROCK, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, BY_ID, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, CROPS, DANDELION, DEADBUSH, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DISPENSER, DOUBLE_STONE_SLAB, EMITTANCE, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FULL_OPAQUE, FURNACE, FURNACE_LIT, GLASS, GLASS_SOUNDS, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GOLDEN_RAIL, GRASS, GRASS_SOUNDS, GRAVEL, GRAVEL_SOUNDS, hardness, HAS_TILE_ENTITY, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, isStatEnabled, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_LAZULI_BLOCK, LAPIS_LAZULI_ORE, LEAVES, LEVER, LIGHT_OPACITY, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUNDS, minX, minY, minZ, MOB_SPAWNER, MOSSY_COBBLESTONE, MOVING_PISTON, NETHERRACK, NO_NOTIFY_ON_META_CHANGE, NOTEBLOCK, OBSIDIAN, particalSpeed, PISTON, PISTON_HEAD, PISTON_SOUNDS, PORTAL, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_DUST, REDSTONE_ORE, REDSTONE_ORE_LIT, REDSTONE_REPEATER, REDSTONE_REPEATER_LIT, REDSTONE_TORCH, REDSTONE_TORCH_LIT, resistance, ROSE, SAND, SAND_SOUNDS, SANDSTONE, SAPLING, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, sounds, SPONGE, STANDING_SIGN, STICKY_PISTON, STILL_LAVA, STILL_WATER, STONE, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_SOUNDS, SUGAR_CANES, TALLGRASS, texture, TICKS_RANDOMLY, TNT, TORCH, TRAPDOOR, unusedBoolean1, WALL_SIGN, WOOD, WOOD_DOOR, WOOD_SOUNDS, WOOD_STAIRS, WOODEN_PRESSURE_PLATE, WOOL, WOOL_SOUNDS, WORKBENCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbooleanindirectlyPowered(Level level, int x, int y, int z, int meta) booleanprivate voidmethod_1144(Level level, int x, int y, int z, int int2) voidonEntityCollision(Level level, int x, int y, int z, EntityBase entityBase) voidonScheduledTick(Level level, int x, int y, int z, Random rand) Methods inherited from class net.minecraft.block.Rail
canPlaceAt, getCollisionShape, getDropCount, getPistonPushMode, getRenderType, getTextureForSide, isFullCube, isFullOpaque, isRail, method_1108, method_1109, method_1564, onAdjacentBlockUpdate, onBlockPlaced, updateBoundingBoxMethods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, afterPlaced, beforeDestroyedByExplosion, canGrow, canPlaceAt, canUse, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getColourMultiplier, getDropId, getHardness, getHardness, getOutlineShape, getRenderPass, getTextureForSide, getTextureForSide, getTranslatedName, getTranslationKey, init, isCollidable, isCollidable, isSideRendered, isSolid, isStatEnabled, method_1605, onBlockPlaced, onBlockRemoved, onCollideWithEntity, onDestroyedByExplosion, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable
-
Constructor Details
-
DetectorRail
public DetectorRail(int id, int texture) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_342;<init>(II)Vglue <init>Lclass_365;<init>(II)Vserver <init>Ljn;<init>(II)Vclient <init>Lph;<init>(II)Vnamed <init>Lnet/minecraft/block/DetectorRail;<init>(II)V
-
-
Method Details
-
getTickrate
public int getTickrate()- Overrides:
getTickratein classBlockBase- 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/BlockBase;getTickrate()I
-
getEmitsRedstonePower
public boolean getEmitsRedstonePower()- Overrides:
getEmitsRedstonePowerin classBlockBase- 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 getEmitsRedstonePowerLnet/minecraft/block/BlockBase;getEmitsRedstonePower()Z
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1615Lnet/minecraft/class_17;method_1615(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;)Vglue method_59Lclass_507;method_59(Lclass_129;IIILclass_450;)Vserver aLna;a(Ldj;IIILlq;)Vclient aLuu;a(Lfd;IIILsn;)Vnamed onEntityCollisionLnet/minecraft/block/BlockBase;onEntityCollision(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/EntityBase;)V
-
onScheduledTick
- Overrides:
onScheduledTickin classBlockBase- 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 onScheduledTickLnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
-
isPowered
- Overrides:
isPoweredin classBlockBase- 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 isPoweredLnet/minecraft/block/BlockBase;isPowered(Lnet/minecraft/level/BlockView;IIII)Z
-
indirectlyPowered
- Overrides:
indirectlyPoweredin classBlockBase- 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 indirectlyPoweredLnet/minecraft/block/BlockBase;indirectlyPowered(Lnet/minecraft/level/Level;IIII)Z
-
method_1144
- Mappings:
Namespace Name Mixin selector intermediary method_1144Lnet/minecraft/class_342;method_1144(Lnet/minecraft/class_18;IIII)Vglue method_1489Lclass_365;method_1489(Lclass_129;IIII)Vserver fLjn;f(Ldj;IIII)Vclient fLph;f(Lfd;IIII)Vnamed method_1144Lnet/minecraft/block/DetectorRail;method_1144(Lnet/minecraft/level/Level;IIII)V
-