Class BergamuteBlockEntity

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
vazkii.botania.api.block_entity.SpecialFlowerBlockEntity
vazkii.botania.common.block.flower.functional.BergamuteBlockEntity
All Implemented Interfaces:
FloatingFlowerProvider

public class BergamuteBlockEntity extends SpecialFlowerBlockEntity
  • Constructor Details

    • BergamuteBlockEntity

      public BergamuteBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • tickFlower

      public void tickFlower()
      Overrides:
      tickFlower in class SpecialFlowerBlockEntity
    • setRemoved

      public void setRemoved()
      Overrides:
      setRemoved in class net.minecraft.world.level.block.entity.BlockEntity
    • getBergamutesNearby

      public static com.mojang.datafixers.util.Pair<Integer,BergamuteBlockEntity> getBergamutesNearby(net.minecraft.world.level.Level level, double x, double y, double z, int maxCount)
    • isBergamuteNearby

      public static boolean isBergamuteNearby(net.minecraft.world.level.Level level, double x, double y, double z)
    • isBergamuteOccludingVibration

      public static boolean isBergamuteOccludingVibration(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 sourcePos, net.minecraft.world.phys.Vec3 destPos)
    • particle

      public static void particle(BergamuteBlockEntity berg)
    • getRadius

      public RadiusDescriptor getRadius()
      Description copied from class: SpecialFlowerBlockEntity
      Returns 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:
      getRadius in class SpecialFlowerBlockEntity