Package net.minecraft.block
Class RailBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.RailBlock
- Direct Known Subclasses:
DetectorRailBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_16glue class_360server jjclient pcnamed net/minecraft/block/RailBlock
-
Nested Class Summary
Nested Classes -
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 TypeMethodDescriptionbooleancanPlaceAt(World world, int x, int y, int z) getCollisionShape(World world, int x, int y, int z) intgetDroppedItemCount(Random random) intintintgetTexture(int side, int meta) booleanbooleanbooleanisOpaque()private booleanisPoweredByConnectedRails(World world, int x, int y, int z, int meta, boolean towardsNegative, int depth) private booleanisPoweredByRail(World world, int x, int y, int z, boolean towardsNegative, int depth, int shape) static final booleanisRail(int id) static final booleanvoidneighborUpdate(World world, int x, int y, int z, int id) voidvoidupdateBoundingBox(BlockView blockView, int x, int y, int z) private voidupdateShape(World world, int x, int y, int z, boolean force) Methods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, applyVelocity, canEmitRedstonePower, canGrow, canPlaceAt, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getColor, getColorMultiplier, getDroppedItemId, getDroppedItemMeta, getHardness, getHardness, getLuminance, getRenderLayer, getTexture, getTextureId, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePowerInDirection, isSideVisible, isSolidFace, isTrackingStatistics, onBlockAction, onBlockBreakStart, onBreak, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onPlaced, onSteppedOn, onTick, onUse, randomDisplayTick, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox
-
Field Details
-
alwaysStraight
private final boolean alwaysStraight- Mappings:
Namespace Name Mixin selector intermediary field_1262Lnet/minecraft/class_16;field_1262:Zglue field_1453Lclass_360;field_1453:Zserver aLjj;a:Zclient aLpc;a:Znamed alwaysStraightLnet/minecraft/block/RailBlock;alwaysStraight:Z
-
-
Constructor Details
-
RailBlock
protected RailBlock(int id, int textureId, boolean alwaysStraight) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_16;<init>(IIZ)Vglue <init>Lclass_360;<init>(IIZ)Vserver <init>Ljj;<init>(IIZ)Vclient <init>Lpc;<init>(IIZ)Vnamed <init>Lnet/minecraft/block/RailBlock;<init>(IIZ)V
-
-
Method Details
-
isRail
- Mappings:
Namespace Name Mixin selector intermediary method_1109Lnet/minecraft/class_16;method_1109(Lnet/minecraft/class_18;III)Zglue method_1466Lclass_360;method_1466(Lclass_129;III)Zserver gLjj;g(Ldj;III)Zclient hLpc;h(Lfd;III)Znamed isRailLnet/minecraft/block/RailBlock;isRail(Lnet/minecraft/world/World;III)Z
-
isRail
public static final boolean isRail(int id) - Mappings:
Namespace Name Mixin selector intermediary method_1107Lnet/minecraft/class_16;method_1107(I)Zglue method_1464Lclass_360;method_1464(I)Zserver cLjj;c(I)Zclient dLpc;d(I)Znamed isRailLnet/minecraft/block/RailBlock;isRail(I)Z
-
isAlwaysStraight
public boolean isAlwaysStraight()- Mappings:
Namespace Name Mixin selector intermediary method_1108Lnet/minecraft/class_16;method_1108()Zglue method_1465Lclass_360;method_1465()Zserver fLjj;f()Zclient iLpc;i()Znamed isAlwaysStraightLnet/minecraft/block/RailBlock;isAlwaysStraight()Z
-
getCollisionShape
- Overrides:
getCollisionShapein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1624Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;glue method_67Lclass_507;method_67(Lclass_129;III)Lclass_113;server eLna;e(Ldj;III)Lcz;client eLuu;e(Lfd;III)Leq;named getCollisionShapeLnet/minecraft/block/Block;getCollisionShape(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
isOpaque
public boolean isOpaque() -
raycast
- Overrides:
raycastin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1564Lnet/minecraft/class_17;method_1564(Lnet/minecraft/class_18;IIILnet/minecraft/class_26;Lnet/minecraft/class_26;)Lnet/minecraft/class_27;glue method_1225Lclass_507;method_1225(Lclass_129;IIILclass_45;Lclass_45;)Lclass_518;server aLna;a(Ldj;IIILba;Lba;)Lnh;client aLuu;a(Lfd;IIILbt;Lbt;)Lvf;named raycastLnet/minecraft/block/Block;raycast(Lnet/minecraft/world/World;IIILnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/hit/HitResult;
-
updateBoundingBox
- Overrides:
updateBoundingBoxin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1616Lnet/minecraft/class_17;method_1616(Lnet/minecraft/class_14;III)Vglue method_60Lclass_507;method_60(Lclass_584;III)Vserver aLna;a(Lpb;III)Vclient aLuu;a(Lxp;III)Vnamed updateBoundingBoxLnet/minecraft/block/Block;updateBoundingBox(Lnet/minecraft/world/BlockView;III)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
-
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
-
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
-
getDroppedItemCount
- Overrides:
getDroppedItemCountin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1603Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)Iglue method_21Lclass_507;method_21(Ljava/util/Random;)Iserver aLna;a(Ljava/util/Random;)Iclient aLuu;a(Ljava/util/Random;)Inamed getDroppedItemCountLnet/minecraft/block/Block;getDroppedItemCount(Ljava/util/Random;)I
-
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
-
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
-
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
-
updateShape
- Mappings:
Namespace Name Mixin selector intermediary method_1104Lnet/minecraft/class_16;method_1104(Lnet/minecraft/class_18;IIIZ)Vglue method_1461Lclass_360;method_1461(Lclass_129;IIIZ)Vserver aLjj;a(Ldj;IIIZ)Vclient aLpc;a(Lfd;IIIZ)Vnamed updateShapeLnet/minecraft/block/RailBlock;updateShape(Lnet/minecraft/world/World;IIIZ)V
-
isPoweredByConnectedRails
private boolean isPoweredByConnectedRails(World world, int x, int y, int z, int meta, boolean towardsNegative, int depth) - Mappings:
Namespace Name Mixin selector intermediary method_1103Lnet/minecraft/class_16;method_1103(Lnet/minecraft/class_18;IIIIZI)Zglue method_1460Lclass_360;method_1460(Lclass_129;IIIIZI)Zserver aLjj;a(Ldj;IIIIZI)Zclient aLpc;a(Lfd;IIIIZI)Znamed isPoweredByConnectedRailsLnet/minecraft/block/RailBlock;isPoweredByConnectedRails(Lnet/minecraft/world/World;IIIIZI)Z
-
isPoweredByRail
private boolean isPoweredByRail(World world, int x, int y, int z, boolean towardsNegative, int depth, int shape) - Mappings:
Namespace Name Mixin selector intermediary method_1105Lnet/minecraft/class_16;method_1105(Lnet/minecraft/class_18;IIIZII)Zglue method_1462Lclass_360;method_1462(Lclass_129;IIIZII)Zserver aLjj;a(Ldj;IIIZII)Zclient aLpc;a(Lfd;IIIZII)Znamed isPoweredByRailLnet/minecraft/block/RailBlock;isPoweredByRail(Lnet/minecraft/world/World;IIIZII)Z
-
getPistonBehavior
public int getPistonBehavior()- Overrides:
getPistonBehaviorin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1574Lnet/minecraft/class_17;method_1574()Iglue method_157Lclass_507;method_157()Iserver eLna;e()Iclient hLuu;h()Inamed getPistonBehaviorLnet/minecraft/block/Block;getPistonBehavior()I
-