Package net.minecraft.block
Class FireflyBushBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.FireflyBushBlock
- All Implemented Interfaces:
Fertilizable,ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/block/FireflyBushBlockintermediary net/minecraft/class_10736official dqr
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>Nested classes/interfaces inherited from interface net.minecraft.block.Fertilizable
Fertilizable.FertilizableType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<FireflyBushBlock> private static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final intFields inherited from class net.minecraft.block.Block
field_31023, field_31024, field_31025, FORCE_STATE, FORCE_STATE_AND_SKIP_CALLBACKS_AND_DROPS, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_BLOCK_ADDED_CALLBACK, SKIP_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_DROPS, SKIP_REDRAW_AND_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanGrow(World world, Random random, BlockPos pos, BlockState state) protected com.mojang.serialization.MapCodec<? extends FireflyBushBlock> getCodec()voidgrow(ServerWorld world, Random random, BlockPos pos, BlockState state) booleanisFertilizable(WorldView world, BlockPos pos, BlockState state) voidrandomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.Methods inherited from class net.minecraft.block.PlantBlock
canPathfindThrough, canPlaceAt, canPlantOnTop, getStateForNeighborUpdate, isTransparentMethods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, asBlock, asItem, canMobSpawnInside, cannotConnect, createColumnShape, createColumnShape, createCubeShape, createCuboidShape, createCuboidShape, createCuboidZShape, createCuboidZShape, createCuboidZShape, createShapeArray, createShapeFunction, createShapeFunction, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getRegistryEntry, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, rotate, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.Fertilizable
getFertilizableType, getFertilizeParticlePosMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
FIREFLY_CHANCE
private static final double FIREFLY_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named FIREFLY_CHANCELnet/minecraft/block/FireflyBushBlock;FIREFLY_CHANCE:Dintermediary field_56461Lnet/minecraft/class_10736;field_56461:Dofficial bLdqr;b:D
-
FIREFLY_HORIZONTAL_RADIUS
private static final double FIREFLY_HORIZONTAL_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named FIREFLY_HORIZONTAL_RADIUSLnet/minecraft/block/FireflyBushBlock;FIREFLY_HORIZONTAL_RADIUS:Dintermediary field_56462Lnet/minecraft/class_10736;field_56462:Dofficial cLdqr;c:D
-
FIREFLY_VERTICAL_RADIUS
private static final double FIREFLY_VERTICAL_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named FIREFLY_VERTICAL_RADIUSLnet/minecraft/block/FireflyBushBlock;FIREFLY_VERTICAL_RADIUS:Dintermediary field_56463Lnet/minecraft/class_10736;field_56463:Dofficial dLdqr;d:D
-
LIGHT_LEVEL_THRESHOLD
private static final int LIGHT_LEVEL_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector named LIGHT_LEVEL_THRESHOLDLnet/minecraft/block/FireflyBushBlock;LIGHT_LEVEL_THRESHOLD:Iintermediary field_56464Lnet/minecraft/class_10736;field_56464:Iofficial eLdqr;e:I
-
IDLE_SOUND_CHANCE
private static final int IDLE_SOUND_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named IDLE_SOUND_CHANCELnet/minecraft/block/FireflyBushBlock;IDLE_SOUND_CHANCE:Iintermediary field_56571Lnet/minecraft/class_10736;field_56571:Iofficial fLdqr;f:I
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/block/FireflyBushBlock;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_56460Lnet/minecraft/class_10736;field_56460:Lcom/mojang/serialization/MapCodec;official aLdqr;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
FireflyBushBlock
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vofficial <init>Lebp;<init>(Lebp$d;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodecin classPlantBlock- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;official aLebp;a()Lcom/mojang/serialization/MapCodec;
-
randomDisplayTick
Called randomly on the client. Blocks may override this to spawn particles. UnlikeAbstractBlock.randomTick(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.util.math.random.Random)this is not affected by a game rule.- Overrides:
randomDisplayTickin classBlock- Mappings:
Namespace Name Mixin selector named randomDisplayTickLnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Vintermediary method_9496Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Vofficial aLdno;a(Lebq;Ldkj;Liw;Lbai;)V
-
isFertilizable
- Specified by:
isFertilizablein interfaceFertilizable- Mappings:
Namespace Name Mixin selector named isFertilizableLnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Zintermediary method_9651Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial aLdnr;a(Ldkm;Liw;Lebq;)Z
-
canGrow
- Specified by:
canGrowin interfaceFertilizable- Mappings:
Namespace Name Mixin selector named canGrowLnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Zintermediary method_9650Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial aLdnr;a(Ldkj;Lbai;Liw;Lebq;)Z
-
grow
- Specified by:
growin interfaceFertilizable- Mappings:
Namespace Name Mixin selector named growLnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_9652Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial aLdnr;a(Lasb;Lbai;Liw;Lebq;)V
-