Package net.minecraft.block
Class Grass
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Grass
- Mappings:
Namespace Name intermediary net/minecraft/class_476glue class_557server ojclient wpnamed net/minecraft/block/Grass
-
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 TypeMethodDescriptionintgetColourMultiplier(BlockView tileView, int x, int y, int z) intintgetTextureForSide(BlockView tileView, int x, int y, int z, int meta) voidonScheduledTick(Level level, int x, int y, int z, Random rand) Methods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, afterPlaced, beforeDestroyedByExplosion, canGrow, canPlaceAt, canPlaceAt, canUse, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getCollisionShape, getDropCount, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getRenderPass, getRenderType, getTextureForSide, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isFullCube, isFullOpaque, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, method_1605, onAdjacentBlockUpdate, onBlockPlaced, onBlockPlaced, onBlockRemoved, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Constructor Details
-
Grass
protected Grass(int id) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_476;<init>(I)Vglue <init>Lclass_557;<init>(I)Vserver <init>Loj;<init>(I)Vclient <init>Lwp;<init>(I)Vnamed <init>Lnet/minecraft/block/Grass;<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
-
getColourMultiplier
- Overrides:
getColourMultiplierin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1600Lnet/minecraft/class_17;method_1600(Lnet/minecraft/class_14;III)Iglue method_184Lclass_507;method_184(Lclass_584;III)Iserver method_1600Lna;method_1600(Lpb;III)Iclient bLuu;b(Lxp;III)Inamed getColourMultiplierLnet/minecraft/block/BlockBase;getColourMultiplier(Lnet/minecraft/level/BlockView;III)I
-
onScheduledTick
- Overrides:
onScheduledTickin classBlockBase- 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
-
getDropId
- Overrides:
getDropIdin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1601Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)Iglue method_19Lclass_507;method_19(ILjava/util/Random;)Iserver aLna;a(ILjava/util/Random;)Iclient aLuu;a(ILjava/util/Random;)Inamed getDropIdLnet/minecraft/block/BlockBase;getDropId(ILjava/util/Random;)I
-