Package net.minecraft.block
Class TallPlantBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.TallPlantBlock
- All Implemented Interfaces:
Growable
- Mappings:
Namespace Name official amkintermediary net/minecraft/class_193named net/minecraft/block/TallPlantBlock
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidappendItemStacks(Item item, ItemGroup group, List stacks) Appends ItemStacks to an itemgroup.booleancanStayPlaced(World world, int x, int y, int z) intgetBonusDrops(int id, Random rand) Returns the number bonus drops for a block when broken.intgetColor()getTexture(int side, int blockData) method_398(int int2, Random random, int int3) voidmethod_424(World world, PlayerEntity playerEntity, int int2, int int3, int int4, int int5) intmethod_438(BlockView blockView, int int2, int int3, int int4) intmethod_459(int int2) intmethod_463(World world, int int2, int int3, int int4) 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) voidregisterTextures(TextureRegistry registry) Methods inherited from class net.minecraft.block.PlantBlock
canPlaceBlockAt, canPlantOnTop, getBlockType, hasTransperancy, method_454, method_6464, onNeighborUpdate, onTick, renderAsNormalBlockMethods inherited from class net.minecraft.block.Block
areBlocksEqual, breakNaturally, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, 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, 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_425, method_427, method_428, method_431, method_435, method_437, method_446, method_448, method_452, method_455, method_457, method_461, method_464, method_468, method_471, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_5604
- Mappings:
Namespace Name Mixin selector official aLamk;a:[Ljava/lang/String;intermediary field_5604Lnet/minecraft/class_193;field_5604:[Ljava/lang/String;named field_5604Lnet/minecraft/block/TallPlantBlock;field_5604:[Ljava/lang/String;
-
field_5605
- Mappings:
Namespace Name Mixin selector official bLamk;b:[Lpr;intermediary field_5605Lnet/minecraft/class_193;field_5605:[Lnet/minecraft/class_1557;named field_5605Lnet/minecraft/block/TallPlantBlock;field_5605:[Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
TallPlantBlock
protected TallPlantBlock()
-
-
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;
-
getColor
-
canStayPlaced
- Overrides:
canStayPlacedin classPlantBlock- Mappings:
Namespace Name Mixin selector official jLaht;j(Lafm;III)Zintermediary method_450Lnet/minecraft/class_197;method_450(Lnet/minecraft/class_1150;III)Znamed canStayPlacedLnet/minecraft/block/Block;canStayPlaced(Lnet/minecraft/world/World;III)Z
-
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
-
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;
-
getBonusDrops
Returns the number bonus drops for a block when broken.- Overrides:
getBonusDropsin classBlock- Parameters:
id- Idrand- Random object- Returns:
- Bonus drops for a block
- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;)Iintermediary method_397Lnet/minecraft/class_197;method_397(ILjava/util/Random;)Inamed getBonusDropsLnet/minecraft/block/Block;getBonusDrops(ILjava/util/Random;)I
-
method_424
public void method_424(World world, PlayerEntity playerEntity, int int2, int int3, int int4, int int5) - Overrides:
method_424in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;Lxk;IIII)Vintermediary method_424Lnet/minecraft/class_197;method_424(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;IIII)Vnamed method_424Lnet/minecraft/block/Block;method_424(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;IIII)V
-
method_463
- Overrides:
method_463in classBlock- Mappings:
Namespace Name Mixin selector official kLaht;k(Lafm;III)Iintermediary method_463Lnet/minecraft/class_197;method_463(Lnet/minecraft/class_1150;III)Inamed method_463Lnet/minecraft/block/Block;method_463(Lnet/minecraft/world/World;III)I
-
appendItemStacks
Appends ItemStacks to an itemgroup. Only called on the client.- Overrides:
appendItemStacksin classBlock- Parameters:
item- The Item that must be addedgroup- The ItemGroup that the item must be added tostacks- The list of currently added ItemStacks to the ItemGroup- Mappings:
Namespace Name Mixin selector official aLaht;a(Labm;Laae;Ljava/util/List;)Vintermediary method_399Lnet/minecraft/class_197;method_399(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Ljava/util/List;)Vnamed appendItemStacksLnet/minecraft/block/Block;appendItemStacks(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Ljava/util/List;)V
-
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
-
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
-