Package net.minecraft.world.explosion
Class EntityExplosionBehavior
java.lang.Object
net.minecraft.world.explosion.ExplosionBehavior
net.minecraft.world.explosion.EntityExplosionBehavior
- Mappings:
Namespace Name named net/minecraft/world/explosion/EntityExplosionBehavior
intermediary net/minecraft/class_5361
official dbp
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) Methods inherited from class net.minecraft.world.explosion.ExplosionBehavior
calculateDamage, getKnockbackModifier, shouldDamage
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector named entity
Lnet/minecraft/world/explosion/EntityExplosionBehavior;entity:Lnet/minecraft/entity/Entity;
intermediary field_25399
Lnet/minecraft/class_5361;field_25399:Lnet/minecraft/class_1297;
official a
Ldbp;a:Lbsv;
-
-
Constructor Details
-
EntityExplosionBehavior
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/explosion/EntityExplosionBehavior;<init>(Lnet/minecraft/entity/Entity;)V
intermediary <init>
Lnet/minecraft/class_5361;<init>(Lnet/minecraft/class_1297;)V
official <init>
Ldbp;<init>(Lbsv;)V
-
-
Method Details
-
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;
-
canDestroyBlock
public boolean canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) - Overrides:
canDestroyBlock
in classExplosionBehavior
- Mappings:
Namespace Name Mixin selector 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
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
official a
Ldbs;a(Ldbr;Ldbf;Liz;Ldsd;F)Z
-