Class ExplosionBehavior

java.lang.Object
net.minecraft.world.explosion.ExplosionBehavior
Direct Known Subclasses:
EntityExplosionBehavior

public class ExplosionBehavior extends Object
Mappings:
Namespace Name
official bzp
intermediary net/minecraft/class_5362
named net/minecraft/world/explosion/ExplosionBehavior
  • Constructor Details

    • ExplosionBehavior

      public ExplosionBehavior()
  • Method Details

    • getBlastResistance

      public Optional<Float> getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(Lbzo;Lbzc;Lgh;Lcnv;Ldhi;)Ljava/util/Optional;
      intermediary method_29555 Lnet/minecraft/class_5362;method_29555(Lnet/minecraft/class_1927;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)Ljava/util/Optional;
      named getBlastResistance Lnet/minecraft/world/explosion/ExplosionBehavior;getBlastResistance(Lnet/minecraft/world/explosion/Explosion;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Ljava/util/Optional;
    • canDestroyBlock

      public boolean canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(Lbzo;Lbzc;Lgh;Lcnv;F)Z
      intermediary method_29554 Lnet/minecraft/class_5362;method_29554(Lnet/minecraft/class_1927;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;F)Z
      named canDestroyBlock Lnet/minecraft/world/explosion/ExplosionBehavior;canDestroyBlock(Lnet/minecraft/world/explosion/Explosion;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;F)Z