Package net.minecraft.block
Class Mushroom
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Plant
net.minecraft.block.Mushroom
- Mappings:
Namespace Name intermediary net/minecraft/class_429glue class_470server mdclient tlnamed net/minecraft/block/Mushroom
-
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 TypeMethodDescriptionbooleanprotected booleancanPlantOnTopOf(int id) voidonScheduledTick(Level level, int x, int y, int z, Random rand) Methods inherited from class net.minecraft.block.Plant
breakIfIncorrect, canPlaceAt, getCollisionShape, getRenderType, isFullCube, isFullOpaque, onAdjacentBlockUpdateMethods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, afterPlaced, beforeDestroyedByExplosion, canPlaceAt, canUse, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getColourMultiplier, getDropCount, getDropId, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getRenderPass, getTextureForSide, getTextureForSide, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, method_1605, onBlockPlaced, onBlockPlaced, onBlockRemoved, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Constructor Details
-
Mushroom
protected Mushroom(int id, int texture) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_473;<init>(II)Vglue <init>Lclass_538;<init>(II)Vserver <init>Lnw;<init>(II)Vclient <init>Lwb;<init>(II)Vnamed <init>Lnet/minecraft/block/Plant;<init>(II)V
-
-
Method Details
-
onScheduledTick
- Overrides:
onScheduledTickin classPlant- 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
-
canPlantOnTopOf
protected boolean canPlantOnTopOf(int id) - Overrides:
canPlantOnTopOfin classPlant- Mappings:
Namespace Name Mixin selector intermediary method_1683Lnet/minecraft/class_473;method_1683(I)Zglue method_1089Lclass_538;method_1089(I)Zserver cLnw;c(I)Zclient dLwb;d(I)Znamed canPlantOnTopOfLnet/minecraft/block/Plant;canPlantOnTopOf(I)Z
-
canGrow
- Overrides:
canGrowin classPlant- Mappings:
Namespace Name Mixin selector intermediary method_1566Lnet/minecraft/class_17;method_1566(Lnet/minecraft/class_18;III)Zglue method_1425Lclass_507;method_1425(Lclass_129;III)Zserver fLna;f(Ldj;III)Zclient gLuu;g(Lfd;III)Znamed canGrowLnet/minecraft/block/BlockBase;canGrow(Lnet/minecraft/level/Level;III)Z
-