Class SoulPulseEffect

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

public class SoulPulseEffect extends Object
  • Field Details

    • MAX_DISTANCE

      public static final int MAX_DISTANCE
      See Also:
      Constant Field Values
    • TICKS_PER_LAYER

      public static final int TICKS_PER_LAYER
      See Also:
      Constant Field Values
    • 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)