Package net.minecraft.block
Class Pumpkin
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Pumpkin
- Mappings:
Namespace Name intermediary net/minecraft/class_49glue class_128server diclient fcnamed net/minecraft/block/Pumpkin
-
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 TypeMethodDescriptionvoidafterPlaced(Level level, int x, int y, int z, Living living) booleancanPlaceAt(Level level, int x, int y, int z) intgetTextureForSide(int side) intgetTextureForSide(int side, int meta) voidonBlockPlaced(Level level, int x, int y, int z) Methods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, beforeDestroyedByExplosion, canGrow, canPlaceAt, canUse, 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, onBlockRemoved, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onScheduledTick, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Field Details
-
isLit
private boolean isLit- Mappings:
Namespace Name Mixin selector intermediary field_178Lnet/minecraft/class_49;field_178:Zglue field_411Lclass_128;field_411:Zserver aLdi;a:Zclient aLfc;a:Znamed isLitLnet/minecraft/block/Pumpkin;isLit:Z
-
-
Constructor Details
-
Pumpkin
protected Pumpkin(int id, int texturePos, boolean isLit) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_49;<init>(IIZ)Vglue <init>Lclass_128;<init>(IIZ)Vserver <init>Ldi;<init>(IIZ)Vclient <init>Lfc;<init>(IIZ)Vnamed <init>Lnet/minecraft/block/Pumpkin;<init>(IIZ)V
-
-
Method Details
-
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
-
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
-
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
-
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
-
afterPlaced
- Overrides:
afterPlacedin classBlockBase- 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 afterPlacedLnet/minecraft/block/BlockBase;afterPlaced(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/Living;)V
-