Class SolegnoliaBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
vazkii.botania.api.block_entity.SpecialFlowerBlockEntity
vazkii.botania.api.block_entity.BindableSpecialFlowerBlockEntity<ManaPool>
vazkii.botania.api.block_entity.FunctionalFlowerBlockEntity
vazkii.botania.common.block.flower.functional.SolegnoliaBlockEntity
- All Implemented Interfaces:
Bound,FloatingFlowerProvider,WandBindable
- Direct Known Subclasses:
SolegnoliaBlockEntity.Mini
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class vazkii.botania.api.block_entity.BindableSpecialFlowerBlockEntity
BindableSpecialFlowerBlockEntity.BindableFlowerWandHud<F extends BindableSpecialFlowerBlockEntity<?>>Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput -
Field Summary
Fields inherited from class vazkii.botania.api.block_entity.FunctionalFlowerBlockEntity
LINK_RANGE, redstoneSignalFields inherited from class vazkii.botania.api.block_entity.BindableSpecialFlowerBlockEntity
bindingPosFields inherited from class vazkii.botania.api.block_entity.SpecialFlowerBlockEntity
MYCELIUM_DELAY, overgrowth, overgrowthBoost, PODZOL_DELAY, TAG_TICKS_EXISTED, ticksExistedFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface vazkii.botania.api.block.Bound
UNBOUND_POS -
Constructor Summary
ConstructorsModifierConstructorDescriptionSolegnoliaBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) protectedSolegnoliaBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf set to true, redstoneSignal will be updated every tick.intgetColor()intReturns a descriptor for the radius of this sub tile.doublegetRange()static booleanhasSolegnoliaAround(net.minecraft.world.entity.Entity e) voidvoidMethods inherited from class vazkii.botania.api.block_entity.FunctionalFlowerBlockEntity
addMana, drawManaFromPool, findClosestTarget, getBindingRadius, getDefaultHudIcon, getMana, readFromPacketNBT, writeToPacketNBTMethods inherited from class vazkii.botania.api.block_entity.BindableSpecialFlowerBlockEntity
bindTo, canSelect, findBindCandidateAt, findBoundTile, getBinding, getBindingPos, getHudIcon, isValidBinding, setBindingPos, setPlacedBy, wouldBeValidBindingMethods inherited from class vazkii.botania.api.block_entity.SpecialFlowerBlockEntity
commonTick, emitParticle, getComparatorSignal, getEffectivePos, getFloatingData, getModulatedDelay, getRenderData, getSecondaryRadius, getUpdatePacket, getUpdateTag, isFloating, isOnSpecialSoil, isOvergrowthAffected, loadAdditional, saveAdditional, setFloating, syncMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, triggerEvent
-
Constructor Details
-
SolegnoliaBlockEntity
protected SolegnoliaBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
SolegnoliaBlockEntity
public SolegnoliaBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
tickFlower
public void tickFlower()- Overrides:
tickFlowerin classFunctionalFlowerBlockEntity
-
setRemoved
public void setRemoved()- Overrides:
setRemovedin classnet.minecraft.world.level.block.entity.BlockEntity
-
acceptsRedstone
public boolean acceptsRedstone()Description copied from class:FunctionalFlowerBlockEntityIf set to true, redstoneSignal will be updated every tick.- Overrides:
acceptsRedstonein classFunctionalFlowerBlockEntity
-
hasSolegnoliaAround
public static boolean hasSolegnoliaAround(net.minecraft.world.entity.Entity e) -
getMaxMana
public int getMaxMana()- Specified by:
getMaxManain classBindableSpecialFlowerBlockEntity<ManaPool>
-
getColor
public int getColor()- Specified by:
getColorin classBindableSpecialFlowerBlockEntity<ManaPool>
-
getRange
public double getRange() -
getRadius
Description copied from class:SpecialFlowerBlockEntityReturns a descriptor for the radius of this sub tile. This is called while a player is looking at the block with a Manaseer Monocle.- Specified by:
getRadiusin classSpecialFlowerBlockEntity
-