Package net.minecraft.block
Class GrassBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.GrassBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_476glue class_557server ojclient wpnamed net/minecraft/block/GrassBlock
-
Field Summary
Fields inherited from class net.minecraft.block.Block
BED, BEDROCK, BLOCKS, BLOCKS_ALLOW_VISION, BLOCKS_IGNORE_META_UPDATE, BLOCKS_LIGHT_LUMINANCE, BLOCKS_LIGHT_OPACITY, BLOCKS_OPAQUE, BLOCKS_RANDOM_TICK, BLOCKS_WITH_ENTITY, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, constructed, CRAFTING_TABLE, DANDELION, DEAD_BUSH, DEFAULT_SOUND_GROUP, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DIRT_SOUND_GROUP, DISPENSER, DOOR, DOUBLE_SLAB, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FURNACE, GLASS, GLASS_SOUND_GROUP, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_BLOCK, GRAVEL, GRAVEL_SOUND_GROUP, hardness, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVES, LEVER, LIT_FURNACE, LIT_REDSTONE_ORE, LIT_REDSTONE_TORCH, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUND_GROUP, minX, minY, minZ, MOSSY_COBBLESTONE, MOVING_PISTON, NETHER_PORTAL, NETHERRACK, NOTE_BLOCK, OBSIDIAN, particleFallSpeedModifier, PISTON, PISTON_HEAD, PLANKS, POWERED_RAIL, POWERED_REPEATER, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REPEATER, resistance, ROSE, SAND, SAND_SOUND_GROUP, SANDSTONE, SAPLING, shouldTrackStatistics, SIGN, SLAB, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, soundGroup, SPAWNER, SPONGE, STICKY_PISTON, STONE, STONE_PRESSURE_PLATE, STONE_SOUND_GROUP, SUGAR_CANE, textureId, TNT, TORCH, TRAPDOOR, WALL_SIGN, WATER, WHEAT, WOOD_SOUND_GROUP, WOODEN_PRESSURE_PLATE, WOODEN_STAIRS, WOOL, WOOL_SOUND_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColorMultiplier(BlockView blockView, int x, int y, int z) intgetDroppedItemId(int blockMeta, Random random) intgetTextureId(BlockView blockView, int x, int y, int z, int side) voidCalled at a frequency based on the return value ofBlock.getTickRate().Methods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, applyVelocity, canEmitRedstonePower, canGrow, canPlaceAt, canPlaceAt, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getCollisionShape, getColor, getDroppedItemCount, getDroppedItemMeta, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getRenderType, getTexture, getTexture, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePowerInDirection, isFullCube, isOpaque, isSideVisible, isSolidFace, isTrackingStatistics, neighborUpdate, onBlockAction, onBlockBreakStart, onBreak, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onPlaced, onPlaced, onSteppedOn, onUse, randomDisplayTick, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox, updateBoundingBox
-
Constructor Details
-
GrassBlock
protected GrassBlock(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/GrassBlock;<init>(I)V
-
-
Method Details
-
getTextureId
- Overrides:
getTextureIdin classBlock- 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 getTextureIdLnet/minecraft/block/Block;getTextureId(Lnet/minecraft/world/BlockView;IIII)I
-
getColorMultiplier
- Overrides:
getColorMultiplierin classBlock- 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 getColorMultiplierLnet/minecraft/block/Block;getColorMultiplier(Lnet/minecraft/world/BlockView;III)I
-
onTick
Called at a frequency based on the return value ofBlock.getTickRate(). This method will be called approximatelyBlock.getTickRate()times per second.- Overrides:
onTickin classBlock- 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 onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
getDroppedItemId
- Overrides:
getDroppedItemIdin classBlock- 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 getDroppedItemIdLnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
-