Package net.minecraft.entity.projectile
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
- Mappings:
Namespace Name named net/minecraft/entity/projectile/AbstractWindChargeEntity$WindChargeExplosionBehavior
intermediary net/minecraft/class_9236$class_9237
official cog$a
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) boolean
shouldDamage
(Explosion explosion, Entity entity) Methods inherited from class net.minecraft.world.explosion.ExplosionBehavior
calculateDamage, canDestroyBlock, getKnockbackModifier
-
Constructor Details
-
WindChargeExplosionBehavior
public WindChargeExplosionBehavior()
-
-
Method Details
-
shouldDamage
- Overrides:
shouldDamage
in classExplosionBehavior
- 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
Ldbs;a(Ldbr;Lbsv;)Z
-
getBlastResistance
public Optional<Float> getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) - Overrides:
getBlastResistance
in classExplosionBehavior
- 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
Ldbs;a(Ldbr;Ldbf;Liz;Ldsd;Lenw;)Ljava/util/Optional;
-