Package net.minecraft.block
Class AttachedStemBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.AttachedStemBlock
- All Implemented Interfaces:
Growable
- Mappings:
Namespace Name official amfintermediary net/minecraft/class_189named net/minecraft/block/AttachedStemBlock
-
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 TypeMethodDescriptionprotected booleancanPlantOnTop(Block block) intintgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.intmethod_384(BlockView blockView, int int2, int int3, int int4) voidmethod_385(World world, int int2, int int3, int int4) private floatmethod_386(World world, int int2, int int3, int int4) method_398(int int2, Random random, int int3) method_407(World world, int int2, int int3, int int4) voidmethod_410(World world, int int2, int int3, int int4, int int5, float float2, int int6) voidmethod_425(BlockView blockView, int int2, int int3, int int4) intmethod_438(BlockView blockView, int int2, int int3, int int4) intmethod_459(int int2) 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) voidSets the bounds for the BlockItemMethods inherited from class net.minecraft.block.PlantBlock
canPlaceBlockAt, canStayPlaced, hasTransperancy, method_454, method_6464, onNeighborUpdate, renderAsNormalBlockMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getColor, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTexture, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, 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_427, method_428, method_431, method_435, method_437, method_446, method_448, method_452, method_455, method_457, method_461, method_463, 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, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
mainBlock
- Mappings:
Namespace Name Mixin selector official aLamf;a:Laht;intermediary field_328Lnet/minecraft/class_189;field_328:Lnet/minecraft/class_197;named mainBlockLnet/minecraft/block/AttachedStemBlock;mainBlock:Lnet/minecraft/block/Block;
-
field_5602
- Mappings:
Namespace Name Mixin selector official bLamf;b:Lpr;intermediary field_5602Lnet/minecraft/class_189;field_5602:Lnet/minecraft/class_1557;named field_5602Lnet/minecraft/block/AttachedStemBlock;field_5602:Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
AttachedStemBlock
- Mappings:
Namespace Name Mixin selector official <init>Lamf;<init>(Laht;)Vintermediary <init>Lnet/minecraft/class_189;<init>(Lnet/minecraft/class_197;)Vnamed <init>Lnet/minecraft/block/AttachedStemBlock;<init>(Lnet/minecraft/block/Block;)V
-
-
Method Details
-
canPlantOnTop
- Overrides:
canPlantOnTopin classPlantBlock- Mappings:
Namespace Name Mixin selector official aLaic;a(Laht;)Zintermediary method_6463Lnet/minecraft/class_1754;method_6463(Lnet/minecraft/class_197;)Znamed canPlantOnTopLnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/Block;)Z
-
onTick
- Overrides:
onTickin classPlantBlock- 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_385
- Mappings:
Namespace Name Mixin selector official mLamf;m(Lafm;III)Vintermediary method_385Lnet/minecraft/class_189;method_385(Lnet/minecraft/class_1150;III)Vnamed method_385Lnet/minecraft/block/AttachedStemBlock;method_385(Lnet/minecraft/world/World;III)V
-
method_386
- Mappings:
Namespace Name Mixin selector official nLamf;n(Lafm;III)Fintermediary method_386Lnet/minecraft/class_189;method_386(Lnet/minecraft/class_1150;III)Fnamed method_386Lnet/minecraft/block/AttachedStemBlock;method_386(Lnet/minecraft/world/World;III)F
-
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
-
setBlockItemBounds
public void setBlockItemBounds()Sets the bounds for the BlockItem- Overrides:
setBlockItemBoundsin classBlock- Mappings:
Namespace Name Mixin selector official gLaht;g()Vintermediary method_456Lnet/minecraft/class_197;method_456()Vnamed setBlockItemBoundsLnet/minecraft/block/Block;setBlockItemBounds()V
-
method_425
- Overrides:
method_425in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;III)Vintermediary method_425Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)Vnamed method_425Lnet/minecraft/block/Block;method_425(Lnet/minecraft/world/BlockView;III)V
-
getBlockType
public int getBlockType()- Overrides:
getBlockTypein classPlantBlock- Mappings:
Namespace Name Mixin selector official bLaht;b()Iintermediary method_429Lnet/minecraft/class_197;method_429()Inamed getBlockTypeLnet/minecraft/block/Block;getBlockType()I
-
method_384
- Mappings:
Namespace Name Mixin selector official eLamf;e(Lafw;III)Iintermediary method_384Lnet/minecraft/class_189;method_384(Lnet/minecraft/class_1158;III)Inamed method_384Lnet/minecraft/block/AttachedStemBlock;method_384(Lnet/minecraft/world/BlockView;III)I
-
method_410
- Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIIFI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;IIIIFI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/world/World;IIIIFI)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;
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLaht;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
method_407
- Overrides:
method_407in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;III)Labm;intermediary method_407Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;named method_407Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;
-
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_4786
- Mappings:
Namespace Name Mixin selector official iLamf;i()Lpr;intermediary method_4786Lnet/minecraft/class_189;method_4786()Lnet/minecraft/class_1557;named method_4786Lnet/minecraft/block/AttachedStemBlock;method_4786()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
-