Class SoulPulseEffect

java.lang.Object
com.simibubi.create.content.curiosities.bell.SoulPulseEffect

public class SoulPulseEffect extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final List<net.minecraft.core.BlockPos>
     
    final int
     
    static final int
     
    final net.minecraft.core.BlockPos
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SoulPulseEffect(net.minecraft.core.BlockPos pos, int distance, boolean canOverlap)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static boolean
    canSpawnSoulAt(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos at, boolean ignoreLight)
     
    int
     
    boolean
     
    static Stream<net.minecraft.core.BlockPos>
    getLayer(int idx)
     
    List<net.minecraft.core.BlockPos>
    getPotentialSoulSpawns(net.minecraft.world.level.Level world)
     
    static boolean
    isDark(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos at)
     
    void
    spawnParticles(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos at)
     
    List<net.minecraft.core.BlockPos>
    tick(net.minecraft.world.level.Level world)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MAX_DISTANCE

      public static final int MAX_DISTANCE
      See Also:
    • TICKS_PER_LAYER

      public static final int TICKS_PER_LAYER
      See Also:
    • pos

      public final net.minecraft.core.BlockPos pos
    • distance

      public final int distance
    • added

      public final List<net.minecraft.core.BlockPos> added
  • Constructor Details

    • SoulPulseEffect

      public SoulPulseEffect(net.minecraft.core.BlockPos pos, int distance, boolean canOverlap)
  • Method Details

    • finished

      public boolean finished()
    • canOverlap

      public boolean canOverlap()
    • tick

      public List<net.minecraft.core.BlockPos> tick(net.minecraft.world.level.Level world)
    • currentLayerIdx

      public int currentLayerIdx()
    • getPotentialSoulSpawns

      public List<net.minecraft.core.BlockPos> getPotentialSoulSpawns(net.minecraft.world.level.Level world)
    • isDark

      public static boolean isDark(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos at)
    • canSpawnSoulAt

      public static boolean canSpawnSoulAt(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos at, boolean ignoreLight)
    • spawnParticles

      public void spawnParticles(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos at)
    • getLayer

      public static Stream<net.minecraft.core.BlockPos> getLayer(int idx)