Class AbstractWindChargeEntity.WindChargeExplosionBehavior

java.lang.Object
net.minecraft.world.explosion.ExplosionBehavior
net.minecraft.entity.projectile.AbstractWindChargeEntity.WindChargeExplosionBehavior
Direct Known Subclasses:
WindBurstEnchantment.ExplosionBehaviour, WindChargeEntity.WindChargeExplosionBehavior
Enclosing class:
AbstractWindChargeEntity

public static class AbstractWindChargeEntity.WindChargeExplosionBehavior extends ExplosionBehavior
Mappings:
Namespace Name
named net/minecraft/entity/projectile/AbstractWindChargeEntity$WindChargeExplosionBehavior
intermediary net/minecraft/class_9236$class_9237
official coh$a
  • Constructor Details

    • WindChargeExplosionBehavior

      public WindChargeExplosionBehavior()
  • Method Details

    • shouldDamage

      public boolean shouldDamage(Explosion explosion, Entity entity)
      Overrides:
      shouldDamage in class ExplosionBehavior
      Mappings:
      Namespace Name Mixin selector
      named shouldDamage Lnet/minecraft/world/explosion/ExplosionBehavior;shouldDamage(Lnet/minecraft/world/explosion/Explosion;Lnet/minecraft/entity/Entity;)Z
      intermediary method_55504 Lnet/minecraft/class_5362;method_55504(Lnet/minecraft/class_1927;Lnet/minecraft/class_1297;)Z
      official a Ldbt;a(Ldbs;Lbsw;)Z
    • getBlastResistance

      public Optional<Float> getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
      Overrides:
      getBlastResistance in class ExplosionBehavior
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Ldbt;a(Ldbs;Ldbg;Liz;Ldse;Lenx;)Ljava/util/Optional;