Package net.minecraft.block
Class ChorusFlowerBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.ChorusFlowerBlock
- Mappings:
Namespace Name official amhintermediary net/minecraft/class_2720named net/minecraft/block/ChorusFlowerBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, blockSoundGroup, collisionBox, EMPTY_BOX, fullBlock, hardness, lightLevel, material, materialColor, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StateManagerReturns a new state manager with a property array.booleancanBePlacedAtPos(World world, BlockPos pos) Returns whether the current block can be placed at a certainBlockPosprotected ItemStackcreateStackFromBlock(BlockState state) Creates and returns and ItemStack from a block.intgetData(BlockState state) Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not workgetDropItem(BlockState blockState, Random random, int state) Returns the item that must be dropped when the block is brokenReturns the appropriate RenderLayer for a block.booleanisFullBoundsCubeForCulling(BlockState blockState) booleanmethod_11562(BlockState state) private voidmethod_11584(World world, BlockPos blockPos, int int2) private static booleanmethod_11585(World world, BlockPos blockPos, Direction direction) static voidmethod_11586(World world, BlockPos blockPos, Random random, int int2) private static voidmethod_11587(World world, BlockPos blockPos, Random random, BlockPos blockPos2, int int2, int int3) booleanmethod_11588(World world, BlockPos blockPos) private voidmethod_11589(World world, BlockPos blockPos) voidmethod_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidvoidscheduledTick(World world, BlockPos pos, BlockState state, Random rand) Runs when the block is updated as per a schedulestateFromData(int data) Returns a blockstate of the current block from it's idMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendCollisionBoxes, areBlocksEqual, blocksMovement, canBePlacedAdjacent, canCollide, canMobSpawnInside, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getCollisionBox, getComparatorOutput, getDefaultState, getDropCount, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getMeta, getOffsetType, getOpacity, getPistonBehavior, getSoundGroup, getStateFromData, getStateFromRawId, getStateManager, getTickRate, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isTransluscent, method_11557, method_11559, method_11563, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13700, method_13701, method_13702, method_13703, method_13704, method_414, method_435, method_8638, method_8640, method_8640, method_8653, method_8654, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, rainTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, use, useNeighbourLight, withMirror, withRotation
-
Field Details
-
field_12625
- Mappings:
Namespace Name Mixin selector official aLamh;a:Laua;intermediary field_12625Lnet/minecraft/class_2720;field_12625:Lnet/minecraft/class_2246;named field_12625Lnet/minecraft/block/ChorusFlowerBlock;field_12625:Lnet/minecraft/state/property/IntProperty;
-
-
Constructor Details
-
ChorusFlowerBlock
protected ChorusFlowerBlock()
-
-
Method Details
-
getDropItem
Returns the item that must be dropped when the block is broken- Overrides:
getDropItemin classBlock- Parameters:
blockState- The block's BlockStaterandom- Random objectstate- State- Returns:
- The Item that drops after the block breaks
- Mappings:
Namespace Name Mixin selector official aLalu;a(Latl;Ljava/util/Random;I)Lafh;intermediary method_398Lnet/minecraft/class_197;method_398(Lnet/minecraft/class_2232;Ljava/util/Random;I)Lnet/minecraft/class_1069;named getDropItemLnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
-
scheduledTick
Runs when the block is updated as per a schedule- Overrides:
scheduledTickin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStaterand- Random object- Mappings:
Namespace Name Mixin selector official bLalu;b(Lajs;Lco;Latl;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
-
method_11584
- Mappings:
Namespace Name Mixin selector official aLamh;a(Lajs;Lco;I)Vintermediary method_11584Lnet/minecraft/class_2720;method_11584(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Vnamed method_11584Lnet/minecraft/block/ChorusFlowerBlock;method_11584(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)V
-
method_11589
- Mappings:
Namespace Name Mixin selector official cLamh;c(Lajs;Lco;)Vintermediary method_11589Lnet/minecraft/class_2720;method_11589(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_11589Lnet/minecraft/block/ChorusFlowerBlock;method_11589(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
method_11585
- Mappings:
Namespace Name Mixin selector official aLamh;a(Lajs;Lco;Lcv;)Zintermediary method_11585Lnet/minecraft/class_2720;method_11585(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Znamed method_11585Lnet/minecraft/block/ChorusFlowerBlock;method_11585(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official cLalu;c(Latl;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
isFullBoundsCubeForCulling
- Overrides:
isFullBoundsCubeForCullingin classBlock- Mappings:
Namespace Name Mixin selector official bLalu;b(Latl;)Zintermediary method_11560Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Znamed isFullBoundsCubeForCullingLnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
-
canBePlacedAtPos
Returns whether the current block can be placed at a certainBlockPos- Overrides:
canBePlacedAtPosin classBlock- Returns:
- Whether the current block can be placed at a BlockPos
- Mappings:
Namespace Name Mixin selector official aLalu;a(Lajs;Lco;)Zintermediary method_8673Lnet/minecraft/class_197;method_8673(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed canBePlacedAtPosLnet/minecraft/block/Block;canBePlacedAtPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLalu;a(Latl;Lajs;Lco;Lalu;Lco;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
method_11588
- Mappings:
Namespace Name Mixin selector official bLamh;b(Lajs;Lco;)Zintermediary method_11588Lnet/minecraft/class_2720;method_11588(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed method_11588Lnet/minecraft/block/ChorusFlowerBlock;method_11588(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_8651
public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) - Overrides:
method_8651in classBlock- Mappings:
Namespace Name Mixin selector official aLalu;a(Lajs;Laay;Lco;Latl;Lasc;Lafj;)Vintermediary method_8651Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)Vnamed method_8651Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
-
createStackFromBlock
Creates and returns and ItemStack from a block.- Overrides:
createStackFromBlockin classBlock- Parameters:
state- The block's BlockState- Returns:
- An ItemStack instance containing the block
- Mappings:
Namespace Name Mixin selector official wLalu;w(Latl;)Lafj;intermediary method_8682Lnet/minecraft/class_197;method_8682(Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;named createStackFromBlockLnet/minecraft/block/Block;createStackFromBlock(Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official fLalu;f()Lajk;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
stateFromData
Returns a blockstate of the current block from it's id- Overrides:
stateFromDatain classBlock- Parameters:
data- The Blockstate's associated data value- Returns:
- The Default state
- Mappings:
Namespace Name Mixin selector official aLalu;a(I)Latl;intermediary method_8635Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;named stateFromDataLnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
-
getData
Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not work- Overrides:
getDatain classBlock- Parameters:
state- The Blockstate- Returns:
- Zero
- Mappings:
Namespace Name Mixin selector official eLalu;e(Latl;)Iintermediary method_8671Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)Inamed getDataLnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
-
appendProperties
Returns a new state manager with a property array.- Overrides:
appendPropertiesin classBlock- Returns:
- New state manager
- Mappings:
Namespace Name Mixin selector official bLalu;b()Latm;intermediary method_8676Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;named appendPropertiesLnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
-
method_11586
- Mappings:
Namespace Name Mixin selector official aLamh;a(Lajs;Lco;Ljava/util/Random;I)Vintermediary method_11586Lnet/minecraft/class_2720;method_11586(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;I)Vnamed method_11586Lnet/minecraft/block/ChorusFlowerBlock;method_11586(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;I)V
-
method_11587
private static void method_11587(World world, BlockPos blockPos, Random random, BlockPos blockPos2, int int2, int int3) - Mappings:
Namespace Name Mixin selector official aLamh;a(Lajs;Lco;Ljava/util/Random;Lco;II)Vintermediary method_11587Lnet/minecraft/class_2720;method_11587(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;Lnet/minecraft/class_2552;II)Vnamed method_11587Lnet/minecraft/block/ChorusFlowerBlock;method_11587(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;II)V
-