Class BlockExplodedCallback
java.lang.Object
dev.latvian.mods.kubejs.block.callback.BlockExplodedCallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LevelBlockprotected final net.minecraft.world.level.Explosion -
Constructor Summary
ConstructorsConstructorDescriptionBlockExplodedCallback(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.Explosion explosion) -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.world.entity.player.Player> getBlock()net.minecraft.world.level.block.state.BlockStatenet.minecraft.world.entity.EntitygetCause()net.minecraft.world.level.Explosion@Nullable net.minecraft.world.entity.LivingEntitynet.minecraft.world.level.LevelgetLevel()float
-
Field Details
-
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
-
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
-