Package net.minecraft.block
Class DoublePlantBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.DoublePlantBlock
- All Implemented Interfaces:
Growable
- Mappings:
Namespace Name official aizintermediary net/minecraft/class_1755named net/minecraft/block/DoublePlantBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Texture[]private Texture[]static final String[]Texture[]Fields 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.booleancanPlaceBlockAt(World world, int x, int y, int z) booleancanStayPlaced(World world, int x, int y, int z) intgetTexture(int side, int blockData) method_398(int int2, Random random, int int3) voidmethod_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) voidmethod_424(World world, PlayerEntity playerEntity, int int2, int int3, int int4, int int5) voidmethod_425(BlockView blockView, int int2, int int3, int int4) intmethod_431(int int2) intmethod_438(BlockView blockView, int int2, int int3, int int4) 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) protected voidmethod_6464(World world, int int2, int int3, int int4) method_6473(boolean bool, int int2) private booleanmethod_6474(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) static booleanmethod_6475(int int2) voidmethod_6476(World world, int int2, int int3, int int4, int int5, int int6) static intmethod_6477(int int2) intmethod_6478(BlockView blockView, int int2, int int3, int int4) voidonBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidregisterTextures(TextureRegistry registry) Methods inherited from class net.minecraft.block.PlantBlock
canPlantOnTop, hasTransperancy, method_454, onNeighborUpdate, onTick, renderAsNormalBlockMethods inherited from class net.minecraft.block.Block
areBlocksEqual, breakNaturally, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getCollisionBox, getColor, getDropCount, getHardness, 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_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_428, method_435, method_437, method_446, method_448, method_452, method_455, method_457, method_459, method_461, method_464, method_468, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onDestroyed, onEntityCollision, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_7451
- Mappings:
Namespace Name Mixin selector official aLaiz;a:[Ljava/lang/String;intermediary field_7451Lnet/minecraft/class_1755;field_7451:[Ljava/lang/String;named field_7451Lnet/minecraft/block/DoublePlantBlock;field_7451:[Ljava/lang/String;
-
field_7449
- Mappings:
Namespace Name Mixin selector official MLaiz;M:[Lpr;intermediary field_7449Lnet/minecraft/class_1755;field_7449:[Lnet/minecraft/class_1557;named field_7449Lnet/minecraft/block/DoublePlantBlock;field_7449:[Lnet/minecraft/client/Texture;
-
field_7450
- Mappings:
Namespace Name Mixin selector official NLaiz;N:[Lpr;intermediary field_7450Lnet/minecraft/class_1755;field_7450:[Lnet/minecraft/class_1557;named field_7450Lnet/minecraft/block/DoublePlantBlock;field_7450:[Lnet/minecraft/client/Texture;
-
field_7452
- Mappings:
Namespace Name Mixin selector official bLaiz;b:[Lpr;intermediary field_7452Lnet/minecraft/class_1755;field_7452:[Lnet/minecraft/class_1557;named field_7452Lnet/minecraft/block/DoublePlantBlock;field_7452:[Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
DoublePlantBlock
public DoublePlantBlock()
-
-
Method Details
-
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_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
-
method_6478
- Mappings:
Namespace Name Mixin selector official eLaiz;e(Lafw;III)Iintermediary method_6478Lnet/minecraft/class_1755;method_6478(Lnet/minecraft/class_1158;III)Inamed method_6478Lnet/minecraft/block/DoublePlantBlock;method_6478(Lnet/minecraft/world/BlockView;III)I
-
canPlaceBlockAt
- Overrides:
canPlaceBlockAtin classPlantBlock- Mappings:
Namespace Name Mixin selector official cLaht;c(Lafm;III)Zintermediary method_434Lnet/minecraft/class_197;method_434(Lnet/minecraft/class_1150;III)Znamed canPlaceBlockAtLnet/minecraft/block/Block;canPlaceBlockAt(Lnet/minecraft/world/World;III)Z
-
method_6464
- Overrides:
method_6464in classPlantBlock- Mappings:
Namespace Name Mixin selector official eLaic;e(Lafm;III)Vintermediary method_6464Lnet/minecraft/class_1754;method_6464(Lnet/minecraft/class_1150;III)Vnamed method_6464Lnet/minecraft/block/PlantBlock;method_6464(Lnet/minecraft/world/World;III)V
-
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_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_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
-
method_6475
public static boolean method_6475(int int2) - Mappings:
Namespace Name Mixin selector official cLaiz;c(I)Zintermediary method_6475Lnet/minecraft/class_1755;method_6475(I)Znamed method_6475Lnet/minecraft/block/DoublePlantBlock;method_6475(I)Z
-
method_6477
public static int method_6477(int int2) - Mappings:
Namespace Name Mixin selector official dLaiz;d(I)Iintermediary method_6477Lnet/minecraft/class_1755;method_6477(I)Inamed method_6477Lnet/minecraft/block/DoublePlantBlock;method_6477(I)I
-
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_6473
- Mappings:
Namespace Name Mixin selector official aLaiz;a(ZI)Lpr;intermediary method_6473Lnet/minecraft/class_1755;method_6473(ZI)Lnet/minecraft/class_1557;named method_6473Lnet/minecraft/block/DoublePlantBlock;method_6473(ZI)Lnet/minecraft/client/Texture;
-
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_6476
- Mappings:
Namespace Name Mixin selector official cLaiz;c(Lafm;IIIII)Vintermediary method_6476Lnet/minecraft/class_1755;method_6476(Lnet/minecraft/class_1150;IIIII)Vnamed method_6476Lnet/minecraft/block/DoublePlantBlock;method_6476(Lnet/minecraft/world/World;IIIII)V
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILrg;Labo;)Vintermediary method_419Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;IIILnet/minecraft/class_1699;Lnet/minecraft/class_1071;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
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_412
public void method_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) - Overrides:
method_412in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIILxk;)Vintermediary method_412Lnet/minecraft/class_197;method_412(Lnet/minecraft/class_1150;IIIILnet/minecraft/class_988;)Vnamed method_412Lnet/minecraft/block/Block;method_412(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/player/PlayerEntity;)V
-
method_6474
private boolean method_6474(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) - Mappings:
Namespace Name Mixin selector official bLaiz;b(Lafm;IIIILxk;)Zintermediary method_6474Lnet/minecraft/class_1755;method_6474(Lnet/minecraft/class_1150;IIIILnet/minecraft/class_988;)Znamed method_6474Lnet/minecraft/block/DoublePlantBlock;method_6474(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/player/PlayerEntity;)Z
-
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
-
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
-
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
-
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
-