类的使用
net.minecraft.world.explosion.Explosion
-
-
net.minecraft.block中Explosion的使用
参数类型为Explosion的net.minecraft.block中的方法 修饰符和类型 方法 说明 voidBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.voidInfestedBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.voidStairsBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.voidTntBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.booleanBlock. shouldDropItemsOnExplosion(Explosion explosion)booleanTntBlock. shouldDropItemsOnExplosion(Explosion explosion) -
net.minecraft.entity中Explosion的使用
参数类型为Explosion的net.minecraft.entity中的方法 修饰符和类型 方法 说明 booleanEntity. canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower)floatEntity. getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) -
net.minecraft.entity.damage中Explosion的使用
参数类型为Explosion的net.minecraft.entity.damage中的方法 修饰符和类型 方法 说明 static DamageSourceDamageSource. explosion(@Nullable Explosion explosion) -
net.minecraft.entity.projectile中Explosion的使用
参数类型为Explosion的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 floatWitherSkullEntity. getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) -
net.minecraft.entity.vehicle中Explosion的使用
参数类型为Explosion的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 booleanTntMinecartEntity. canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower)floatTntMinecartEntity. getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) -
net.minecraft.server.world中Explosion的使用
返回Explosion的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 ExplosionServerWorld. createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) -
net.minecraft.world中Explosion的使用
返回Explosion的net.minecraft.world中的方法 修饰符和类型 方法 说明 ExplosionWorld. createExplosion(@Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)ExplosionWorld. createExplosion(@Nullable Entity entity, double x, double y, double z, float power, Explosion.DestructionType destructionType)ExplosionWorld. createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) -
net.minecraft.world.explosion中Explosion的使用
参数类型为Explosion的net.minecraft.world.explosion中的方法 修饰符和类型 方法 说明 booleanEntityExplosionBehavior. canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)booleanExplosionBehavior. canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)Optional<Float>EntityExplosionBehavior. getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)Optional<Float>ExplosionBehavior. getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
-