Package net.minecraft.block
Class FlowerPotBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.FlowerPotBlock
- All Implemented Interfaces:
BlockEntityProvider
- Mappings:
Namespace Name official ajointermediary net/minecraft/class_1303named net/minecraft/block/FlowerPotBlock
-
Field Summary
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 TypeMethodDescriptionbooleancanPlaceBlockAt(World world, int x, int y, int z) createBlockEntity(World world, int id) intbooleanbooleanmethod_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_411(World world, int int2, int int3, int int4, Block block, int int5) voidmethod_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) intmethod_463(World world, int int2, int int3, int int4) private booleanmethod_6488(Block block, int int2) private FlowerPotBlockEntitymethod_6489(World world, int int2, int int3, int int4) booleanonActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) voidonNeighborUpdate(World world, int x, int y, int z, Block block) booleanReturns whether the block can be rendered as a normal blockvoidSets the bounds for the BlockItemMethods inherited from class net.minecraft.block.BlockWithEntity
breakNaturally, method_435Methods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, canStayPlaced, 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, getTexture, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_425, method_428, method_431, method_437, method_438, method_446, method_448, method_452, method_454, 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, onBreak, onDestroyed, onEntityCollision, onTick, registerTextures, requiresSilkTouch, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
FlowerPotBlock
public FlowerPotBlock()
-
-
Method Details
-
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
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
getBlockType
public int getBlockType()- Overrides:
getBlockTypein classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b()Iintermediary method_429Lnet/minecraft/class_197;method_429()Inamed getBlockTypeLnet/minecraft/block/Block;getBlockType()I
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Returns whether the block can be rendered as a normal block- Overrides:
renderAsNormalBlockin classBlock- Returns:
- Whether the block can be rendered as a normal block
- Mappings:
Namespace Name Mixin selector official dLaht;d()Zintermediary method_441Lnet/minecraft/class_197;method_441()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
onActivated
public boolean onActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) - Overrides:
onActivatedin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILxk;IFFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;IFFF)Znamed onActivatedLnet/minecraft/block/Block;onActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;IFFF)Z
-
method_6488
- Mappings:
Namespace Name Mixin selector official aLajo;a(Laht;I)Zintermediary method_6488Lnet/minecraft/class_1303;method_6488(Lnet/minecraft/class_197;I)Znamed method_6488Lnet/minecraft/block/FlowerPotBlock;method_6488(Lnet/minecraft/block/Block;I)Z
-
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;
-
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
-
isFlowerPot
- Overrides:
isFlowerPotin classBlock- Mappings:
Namespace Name Mixin selector official KLaht;K()Zintermediary method_4188Lnet/minecraft/class_197;method_4188()Znamed isFlowerPotLnet/minecraft/block/Block;isFlowerPot()Z
-
canPlaceBlockAt
- Overrides:
canPlaceBlockAtin classBlock- 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
-
onNeighborUpdate
- Overrides:
onNeighborUpdatein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;)Vintermediary method_408Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Vnamed onNeighborUpdateLnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
-
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_411
- Overrides:
method_411in classBlockWithEntity- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;I)Vintermediary method_411Lnet/minecraft/class_197;method_411(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;I)Vnamed method_411Lnet/minecraft/block/Block;method_411(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;I)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_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_6489
- Mappings:
Namespace Name Mixin selector official eLajo;e(Lafm;III)Lanq;intermediary method_6489Lnet/minecraft/class_1303;method_6489(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1767;named method_6489Lnet/minecraft/block/FlowerPotBlock;method_6489(Lnet/minecraft/world/World;III)Lnet/minecraft/block/entity/FlowerPotBlockEntity;
-
createBlockEntity
- Mappings:
Namespace Name Mixin selector official aLajh;a(Lafm;I)Lanc;intermediary method_309Lnet/minecraft/class_1451;method_309(Lnet/minecraft/class_1150;I)Lnet/minecraft/class_226;named createBlockEntityLnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/world/World;I)Lnet/minecraft/block/entity/BlockEntity;
-