Package net.minecraft.block
Class GrassBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.GrassBlock
- All Implemented Interfaces:
Growable
- Mappings:
Namespace Name official ajsintermediary net/minecraft/class_141named net/minecraft/block/GrassBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Textureprivate Textureprivate Textureprivate static final LoggerFields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()getTexture(int side, int blockData) method_398(int int2, Random random, int int3) intmethod_438(BlockView blockView, int int2, int int3, int int4) intmethod_459(int int2) static Texturemethod_4794(BlockView blockView, int int2, int int3, int int4, int int5) booleanmethod_6460(World world, int int2, int int3, int int4, boolean bool) booleanmethod_6461(World world, Random random, int int2, int int3, int int4) voidmethod_6462(World world, Random random, int int2, int int3, int int4) voidvoidregisterTextures(TextureRegistry registry) Methods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getDropCount, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, hasTransperancy, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, method_407, method_410, method_411, method_412, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_425, method_427, method_428, method_431, method_435, method_437, method_446, method_448, method_452, method_454, method_455, method_457, method_461, method_463, method_464, method_468, method_471, method_479, method_4790, method_4793, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, onNeighborUpdate, renderAsNormalBlock, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_7459
- Mappings:
Namespace Name Mixin selector official aLajs;a:Lorg/apache/logging/log4j/Logger;intermediary field_7459Lnet/minecraft/class_141;field_7459:Lorg/apache/logging/log4j/Logger;named field_7459Lnet/minecraft/block/GrassBlock;field_7459:Lorg/apache/logging/log4j/Logger;
-
field_5555
- Mappings:
Namespace Name Mixin selector official bLajs;b:Lpr;intermediary field_5555Lnet/minecraft/class_141;field_5555:Lnet/minecraft/class_1557;named field_5555Lnet/minecraft/block/GrassBlock;field_5555:Lnet/minecraft/client/Texture;
-
field_5556
- Mappings:
Namespace Name Mixin selector official MLajs;M:Lpr;intermediary field_5556Lnet/minecraft/class_141;field_5556:Lnet/minecraft/class_1557;named field_5556Lnet/minecraft/block/GrassBlock;field_5556:Lnet/minecraft/client/Texture;
-
field_5557
- Mappings:
Namespace Name Mixin selector official NLajs;N:Lpr;intermediary field_5557Lnet/minecraft/class_141;field_5557:Lnet/minecraft/class_1557;named field_5557Lnet/minecraft/block/GrassBlock;field_5557:Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
GrassBlock
protected GrassBlock()
-
-
Method Details
-
getTexture
- Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(II)Lpr;intermediary method_395Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;named getTextureLnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
-
method_4794
@Environment(CLIENT) public Texture method_4794(BlockView blockView, int int2, int int3, int int4, int int5) - Overrides:
method_4794in classBlock- Mappings:
Namespace Name Mixin selector official eLaht;e(Lafw;IIII)Lpr;intermediary method_4794Lnet/minecraft/class_197;method_4794(Lnet/minecraft/class_1158;IIII)Lnet/minecraft/class_1557;named method_4794Lnet/minecraft/block/Block;method_4794(Lnet/minecraft/world/BlockView;IIII)Lnet/minecraft/client/Texture;
-
registerTextures
- Overrides:
registerTexturesin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lps;)Vintermediary method_4791Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)Vnamed registerTexturesLnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V
-
getColor
-
method_459
- Overrides:
method_459in classBlock- Mappings:
Namespace Name Mixin selector official iLaht;i(I)Iintermediary method_459Lnet/minecraft/class_197;method_459(I)Inamed method_459Lnet/minecraft/block/Block;method_459(I)I
-
method_438
- Overrides:
method_438in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafw;III)Iintermediary method_438Lnet/minecraft/class_197;method_438(Lnet/minecraft/class_1158;III)Inamed method_438Lnet/minecraft/block/Block;method_438(Lnet/minecraft/world/BlockView;III)I
-
onTick
- Overrides:
onTickin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILjava/util/Random;)Vintermediary method_436Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_398
- Overrides:
method_398in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;I)Labm;intermediary method_398Lnet/minecraft/class_197;method_398(ILjava/util/Random;I)Lnet/minecraft/class_1069;named method_398Lnet/minecraft/block/Block;method_398(ILjava/util/Random;I)Lnet/minecraft/item/Item;
-
method_4773
- Mappings:
Namespace Name Mixin selector official eLajs;e()Lpr;intermediary method_4773Lnet/minecraft/class_141;method_4773()Lnet/minecraft/class_1557;named method_4773Lnet/minecraft/block/GrassBlock;method_4773()Lnet/minecraft/client/Texture;
-
method_6460
- Specified by:
method_6460in interfaceGrowable- Mappings:
Namespace Name Mixin selector official aLahz;a(Lafm;IIIZ)Zintermediary method_6460Lnet/minecraft/class_1753;method_6460(Lnet/minecraft/class_1150;IIIZ)Znamed method_6460Lnet/minecraft/block/Growable;method_6460(Lnet/minecraft/world/World;IIIZ)Z
-
method_6461
- Specified by:
method_6461in interfaceGrowable- Mappings:
Namespace Name Mixin selector official aLahz;a(Lafm;Ljava/util/Random;III)Zintermediary method_6461Lnet/minecraft/class_1753;method_6461(Lnet/minecraft/class_1150;Ljava/util/Random;III)Znamed method_6461Lnet/minecraft/block/Growable;method_6461(Lnet/minecraft/world/World;Ljava/util/Random;III)Z
-
method_6462
- Specified by:
method_6462in interfaceGrowable- Mappings:
Namespace Name Mixin selector official bLahz;b(Lafm;Ljava/util/Random;III)Vintermediary method_6462Lnet/minecraft/class_1753;method_6462(Lnet/minecraft/class_1150;Ljava/util/Random;III)Vnamed method_6462Lnet/minecraft/block/Growable;method_6462(Lnet/minecraft/world/World;Ljava/util/Random;III)V
-