Package net.minecraft.block
Class SaplingBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.SaplingBlock
- All Implemented Interfaces:
Growable
- Mappings:
Namespace Name official aluintermediary net/minecraft/class_183named net/minecraft/block/SaplingBlock
-
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.getTexture(int side, int blockData) intmethod_431(int int2) voidmethod_4785(World world, int int2, int int3, int int4, Random random) 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) booleanmethod_6508(World world, int int2, int int3, int int4, int int5) voidmethod_6509(World world, int int2, int int3, int int4, Random random) voidvoidregisterTextures(TextureRegistry registry) Methods inherited from class net.minecraft.block.PlantBlock
canPlaceBlockAt, canPlantOnTop, canStayPlaced, getBlockType, hasTransperancy, method_454, method_6464, onNeighborUpdate, renderAsNormalBlockMethods inherited from class net.minecraft.block.Block
areBlocksEqual, breakNaturally, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getColor, 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_398, 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_435, method_437, method_438, method_446, method_448, method_452, method_455, method_457, method_459, 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, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_7486
- Mappings:
Namespace Name Mixin selector official aLalu;a:[Ljava/lang/String;intermediary field_7486Lnet/minecraft/class_183;field_7486:[Ljava/lang/String;named field_7486Lnet/minecraft/block/SaplingBlock;field_7486:[Ljava/lang/String;
-
field_7487
- Mappings:
Namespace Name Mixin selector official bLalu;b:[Lpr;intermediary field_7487Lnet/minecraft/class_183;field_7487:[Lnet/minecraft/class_1557;named field_7487Lnet/minecraft/block/SaplingBlock;field_7487:[Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
SaplingBlock
protected SaplingBlock()
-
-
Method Details
-
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
-
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_4785
- Mappings:
Namespace Name Mixin selector official cLalu;c(Lafm;IIILjava/util/Random;)Vintermediary method_4785Lnet/minecraft/class_183;method_4785(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed method_4785Lnet/minecraft/block/SaplingBlock;method_4785(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_6509
- Mappings:
Namespace Name Mixin selector official dLalu;d(Lafm;IIILjava/util/Random;)Vintermediary method_6509Lnet/minecraft/class_183;method_6509(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed method_6509Lnet/minecraft/block/SaplingBlock;method_6509(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_6508
- Mappings:
Namespace Name Mixin selector official aLalu;a(Lafm;IIII)Zintermediary method_6508Lnet/minecraft/class_183;method_6508(Lnet/minecraft/class_1150;IIII)Znamed method_6508Lnet/minecraft/block/SaplingBlock;method_6508(Lnet/minecraft/world/World;IIII)Z
-
method_431
public int method_431(int int2) - Overrides:
method_431in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(I)Iintermediary method_431Lnet/minecraft/class_197;method_431(I)Inamed method_431Lnet/minecraft/block/Block;method_431(I)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
-