Package net.minecraft.block
Class Rail
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Rail
- Direct Known Subclasses:
DetectorRail
- Mappings:
Namespace Name intermediary net/minecraft/class_16glue class_360server jjclient pcnamed net/minecraft/block/Rail
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields 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 TypeMethodDescriptionbooleancanPlaceAt(Level level, int x, int y, int z) getCollisionShape(Level level, int x, int y, int z) intgetDropCount(Random rand) intintintgetTextureForSide(int side, int meta) booleanbooleanstatic final booleanisRail(int int2) private booleanmethod_1103(Level level, int int2, int int3, int int4, int int5, boolean bool, int int6) private voidmethod_1104(Level level, int int2, int int3, int int4, boolean bool) private booleanmethod_1105(Level level, int x, int y, int z, boolean bool, int int2, int int3) booleanstatic final booleanmethod_1109(Level level, int int2, int int3, int int4) method_1564(Level level, int x, int y, int z, Vec3f vec3f, Vec3f vec3f2) voidonAdjacentBlockUpdate(Level level, int x, int y, int z, int id) voidonBlockPlaced(Level level, int x, int y, int z) voidupdateBoundingBox(BlockView tileView, int x, int y, int z) Methods 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, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getRenderPass, getTextureForSide, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isPowered, isSideRendered, isSolid, isStatEnabled, method_1605, onBlockPlaced, onBlockRemoved, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onScheduledTick, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable
-
Field Details
-
field_1262
private final boolean field_1262- 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 field_1262Lnet/minecraft/block/Rail;field_1262:Z
-
-
Constructor Details
-
Rail
protected Rail(int int2, int int3, boolean bool)
-
-
Method Details
-
method_1109
- 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 method_1109Lnet/minecraft/block/Rail;method_1109(Lnet/minecraft/level/Level;III)Z
-
isRail
public static final boolean isRail(int int2) - 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/Rail;isRail(I)Z
-
method_1108
public boolean method_1108()- 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 method_1108Lnet/minecraft/block/Rail;method_1108()Z
-
getCollisionShape
- Overrides:
getCollisionShapein classBlockBase- 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/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
-
isFullOpaque
public boolean isFullOpaque()- Overrides:
isFullOpaquein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1620Lnet/minecraft/class_17;method_1620()Zglue method_65Lclass_507;method_65()Zserver aLna;a()Zclient cLuu;c()Znamed isFullOpaqueLnet/minecraft/block/BlockBase;isFullOpaque()Z
-
method_1564
- Overrides:
method_1564in classBlockBase- 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 method_1564Lnet/minecraft/block/BlockBase;method_1564(Lnet/minecraft/level/Level;IIILnet/minecraft/util/maths/Vec3f;Lnet/minecraft/util/maths/Vec3f;)Lnet/minecraft/util/hit/HitResult;
-
updateBoundingBox
- Overrides:
updateBoundingBoxin classBlockBase- 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/BlockBase;updateBoundingBox(Lnet/minecraft/level/BlockView;III)V
-
getTextureForSide
public int getTextureForSide(int side, int meta) - Overrides:
getTextureForSidein classBlockBase- 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 getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(II)I
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlockBase- 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/BlockBase;isFullCube()Z
-
getRenderType
- Overrides:
getRenderTypein classBlockBase- 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/BlockBase;getRenderType()I
-
getDropCount
- Overrides:
getDropCountin classBlockBase- 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 getDropCountLnet/minecraft/block/BlockBase;getDropCount(Ljava/util/Random;)I
-
canPlaceAt
- Overrides:
canPlaceAtin classBlockBase- 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/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;III)Z
-
onBlockPlaced
- Overrides:
onBlockPlacedin classBlockBase- 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 onBlockPlacedLnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;III)V
-
onAdjacentBlockUpdate
- Overrides:
onAdjacentBlockUpdatein classBlockBase- 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 onAdjacentBlockUpdateLnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
-
method_1104
- 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 method_1104Lnet/minecraft/block/Rail;method_1104(Lnet/minecraft/level/Level;IIIZ)V
-
method_1103
private boolean method_1103(Level level, int int2, int int3, int int4, int int5, boolean bool, int int6) - 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 method_1103Lnet/minecraft/block/Rail;method_1103(Lnet/minecraft/level/Level;IIIIZI)Z
-
method_1105
- 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 method_1105Lnet/minecraft/block/Rail;method_1105(Lnet/minecraft/level/Level;IIIZII)Z
-
getPistonPushMode
public int getPistonPushMode()- Overrides:
getPistonPushModein classBlockBase- 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 getPistonPushModeLnet/minecraft/block/BlockBase;getPistonPushMode()I
-