Class BlockExplodedCallback

java.lang.Object
dev.latvian.mods.kubejs.block.callback.BlockExplodedCallback

public class BlockExplodedCallback extends Object
  • Field Details

    • block

      protected final LevelBlock block
    • explosion

      protected final net.minecraft.world.level.Explosion explosion
  • Constructor Details

    • BlockExplodedCallback

      public BlockExplodedCallback(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.Explosion explosion)
  • Method Details

    • getLevel

      public net.minecraft.world.level.Level getLevel()
    • getBlock

      public LevelBlock getBlock()
    • getBlockState

      public net.minecraft.world.level.block.state.BlockState getBlockState()
    • getExplosion

      public net.minecraft.world.level.Explosion getExplosion()
    • getCause

      public net.minecraft.world.entity.Entity getCause()
    • getIgniter

      @Nullable public @Nullable net.minecraft.world.entity.LivingEntity getIgniter()
    • getRadius

      public float getRadius()
    • getAffectedPlayers

      public List<net.minecraft.world.entity.player.Player> getAffectedPlayers()