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/FireflyBushBlock
intermediary net/minecraft/class_10736
official dtd
-
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 double
private static final double
private static final double
private static final int
private static final int
Fields 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, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canGrow
(World world, Random random, BlockPos pos, BlockState state) protected com.mojang.serialization.MapCodec
<? extends FireflyBushBlock> getCodec()
void
grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) boolean
isFertilizable
(WorldView world, BlockPos pos, BlockState state) void
randomDisplayTick
(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, isTransparent
Methods 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, toString
Methods 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, scheduledTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.Fertilizable
getFertilizableType, getFertilizeParticlePos
Methods 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_CHANCE
Lnet/minecraft/block/FireflyBushBlock;FIREFLY_CHANCE:D
intermediary field_56461
Lnet/minecraft/class_10736;field_56461:D
official b
Ldtd;b:D
-
FIREFLY_HORIZONTAL_RADIUS
private static final double FIREFLY_HORIZONTAL_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named FIREFLY_HORIZONTAL_RADIUS
Lnet/minecraft/block/FireflyBushBlock;FIREFLY_HORIZONTAL_RADIUS:D
intermediary field_56462
Lnet/minecraft/class_10736;field_56462:D
official c
Ldtd;c:D
-
FIREFLY_VERTICAL_RADIUS
private static final double FIREFLY_VERTICAL_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named FIREFLY_VERTICAL_RADIUS
Lnet/minecraft/block/FireflyBushBlock;FIREFLY_VERTICAL_RADIUS:D
intermediary field_56463
Lnet/minecraft/class_10736;field_56463:D
official d
Ldtd;d:D
-
LIGHT_LEVEL_THRESHOLD
private static final int LIGHT_LEVEL_THRESHOLD- See Also:
- Mappings:
Namespace Name Mixin selector named LIGHT_LEVEL_THRESHOLD
Lnet/minecraft/block/FireflyBushBlock;LIGHT_LEVEL_THRESHOLD:I
intermediary field_56464
Lnet/minecraft/class_10736;field_56464:I
official e
Ldtd;e:I
-
IDLE_SOUND_CHANCE
private static final int IDLE_SOUND_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector named IDLE_SOUND_CHANCE
Lnet/minecraft/block/FireflyBushBlock;IDLE_SOUND_CHANCE:I
intermediary field_56571
Lnet/minecraft/class_10736;field_56571:I
official f
Ldtd;f:I
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/block/FireflyBushBlock;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_56460
Lnet/minecraft/class_10736;field_56460:Lcom/mojang/serialization/MapCodec;
official a
Ldtd;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;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
official <init>
Leea;<init>(Leea$d;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in classPlantBlock
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_53969
Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
official a
Leea;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:
randomDisplayTick
in classBlock
- Mappings:
Namespace Name Mixin selector named randomDisplayTick
Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
intermediary method_9496
Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
official a
Ldpz;a(Leeb;Ldmu;Ljb;Lbck;)V
-
isFertilizable
- Specified by:
isFertilizable
in interfaceFertilizable
- Mappings:
Namespace Name Mixin selector named isFertilizable
Lnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
intermediary method_9651
Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
official a
Ldqc;a(Ldmx;Ljb;Leeb;)Z
-
canGrow
- Specified by:
canGrow
in interfaceFertilizable
- Mappings:
Namespace Name Mixin selector named canGrow
Lnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
intermediary method_9650
Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
official a
Ldqc;a(Ldmu;Lbck;Ljb;Leeb;)Z
-
grow
- Specified by:
grow
in interfaceFertilizable
- Mappings:
Namespace Name Mixin selector named grow
Lnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
intermediary method_9652
Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
official a
Ldqc;a(Laub;Lbck;Ljb;Leeb;)V
-