Package net.minecraft.block
Class Chest
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.BlockWithEntity
net.minecraft.block.Chest
- Mappings:
Namespace Name intermediary net/minecraft/class_110glue class_153server eclient enamed net/minecraft/block/Chest
-
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) booleancanUse(Level level, int x, int y, int z, PlayerBase player) protected TileEntityBaseintgetTextureForSide(int side) intgetTextureForSide(BlockView tileView, int x, int y, int z, int meta) private booleanmethod_409(Level level, int x, int y, int z) voidonBlockRemoved(Level level, int x, int y, int z) Methods inherited from class net.minecraft.block.BlockWithEntity
onBlockPlacedMethods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, afterPlaced, beforeDestroyedByExplosion, canGrow, canPlaceAt, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getCollisionShape, getColourMultiplier, getDropCount, getDropId, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getRenderPass, getRenderType, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isFullCube, isFullOpaque, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, method_1605, onAdjacentBlockUpdate, onBlockPlaced, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onScheduledTick, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Field Details
-
rand
- Mappings:
Namespace Name Mixin selector intermediary field_337Lnet/minecraft/class_110;field_337:Ljava/util/Random;glue field_556Lclass_153;field_556:Ljava/util/Random;server aLe;a:Ljava/util/Random;client aLe;a:Ljava/util/Random;named randLnet/minecraft/block/Chest;rand:Ljava/util/Random;
-
-
Constructor Details
-
Chest
protected Chest(int id) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_110;<init>(I)Vglue <init>Lclass_153;<init>(I)Vserver <init>Le;<init>(I)Vclient <init>Le;<init>(I)Vnamed <init>Lnet/minecraft/block/Chest;<init>(I)V
-
-
Method Details
-
getTextureForSide
@Environment(CLIENT) public int getTextureForSide(BlockView tileView, int x, int y, int z, int meta) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1626Lnet/minecraft/class_17;method_1626(Lnet/minecraft/class_14;IIII)Iglue method_743Lclass_507;method_743(Lclass_584;IIII)Iserver method_1626Lna;method_1626(Lpb;IIII)Iclient aLuu;a(Lxp;IIII)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(Lnet/minecraft/level/BlockView;IIII)I
-
getTextureForSide
public int getTextureForSide(int side) - Overrides:
getTextureForSidein classBlockBase- 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 getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(I)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
-
method_409
- Mappings:
Namespace Name Mixin selector intermediary method_409Lnet/minecraft/class_110;method_409(Lnet/minecraft/class_18;III)Zglue method_742Lclass_153;method_742(Lclass_129;III)Zserver gLe;g(Ldj;III)Zclient hLe;h(Lfd;III)Znamed method_409Lnet/minecraft/block/Chest;method_409(Lnet/minecraft/level/Level;III)Z
-
onBlockRemoved
- Overrides:
onBlockRemovedin classBlockWithEntity- 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 onBlockRemovedLnet/minecraft/block/BlockBase;onBlockRemoved(Lnet/minecraft/level/Level;III)V
-
canUse
- Overrides:
canUsein classBlockBase- 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 canUseLnet/minecraft/block/BlockBase;canUse(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)Z
-
createTileEntity
- Specified by:
createTileEntityin classBlockWithEntity- Mappings:
Namespace Name Mixin selector intermediary method_1251Lnet/minecraft/class_395;method_1251()Lnet/minecraft/class_55;glue method_238Lclass_429;method_238()Lclass_356;server a_Llb;a_()Ljh;client a_Lrw;a_()Low;named createTileEntityLnet/minecraft/block/BlockWithEntity;createTileEntity()Lnet/minecraft/tileentity/TileEntityBase;
-