Package net.minecraft.world.explosion
Class ExplosionImpl
java.lang.Object
net.minecraft.world.explosion.ExplosionImpl
- All Implemented Interfaces:
Explosion
- Mappings:
Namespace Name named net/minecraft/world/explosion/ExplosionImpl
intermediary net/minecraft/class_9892
official dhx
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.explosion.Explosion
Explosion.DestructionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ExplosionBehavior
private final boolean
private final DamageSource
private static final ExplosionBehavior
private final Explosion.DestructionType
private static final int
private static final float
private final Map
<PlayerEntity, Vec3d> private final Vec3d
private final float
private final ServerWorld
-
Constructor Summary
ConstructorDescriptionExplosionImpl
(ServerWorld world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, Explosion.DestructionType destructionType) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addDroppedItem
(List<ExplosionImpl.DroppedItem> droppedItemsOut, ItemStack item, BlockPos pos) static float
calculateReceivedDamage
(Vec3d pos, Entity entity) boolean
private void
createFire
(List<BlockPos> positions) private void
private void
destroyBlocks
(List<BlockPos> positions) void
explode()
float
getPower()
getWorld()
boolean
isSmall()
private ExplosionBehavior
makeBehavior
(@Nullable Entity entity) boolean
private boolean
-
Field Details
-
DEFAULT_BEHAVIOR
- Mappings:
Namespace Name Mixin selector named DEFAULT_BEHAVIOR
Lnet/minecraft/world/explosion/ExplosionImpl;DEFAULT_BEHAVIOR:Lnet/minecraft/world/explosion/ExplosionBehavior;
intermediary field_52617
Lnet/minecraft/class_9892;field_52617:Lnet/minecraft/class_5362;
official a
Ldhx;a:Ldha;
-
field_52618
private static final int field_52618- See Also:
- Mappings:
Namespace Name Mixin selector named field_52618
Lnet/minecraft/world/explosion/ExplosionImpl;field_52618:I
intermediary field_52618
Lnet/minecraft/class_9892;field_52618:I
official b
Ldhx;b:I
-
field_52619
private static final float field_52619- See Also:
- Mappings:
Namespace Name Mixin selector named field_52619
Lnet/minecraft/world/explosion/ExplosionImpl;field_52619:F
intermediary field_52619
Lnet/minecraft/class_9892;field_52619:F
official c
Ldhx;c:F
-
createFire
private final boolean createFire- Mappings:
Namespace Name Mixin selector named createFire
Lnet/minecraft/world/explosion/ExplosionImpl;createFire:Z
intermediary field_52620
Lnet/minecraft/class_9892;field_52620:Z
official d
Ldhx;d:Z
-
destructionType
- Mappings:
Namespace Name Mixin selector named destructionType
Lnet/minecraft/world/explosion/ExplosionImpl;destructionType:Lnet/minecraft/world/explosion/Explosion$DestructionType;
intermediary field_52621
Lnet/minecraft/class_9892;field_52621:Lnet/minecraft/class_1927$class_4179;
official e
Ldhx;e:Ldgz$a;
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/world/explosion/ExplosionImpl;world:Lnet/minecraft/server/world/ServerWorld;
intermediary field_52622
Lnet/minecraft/class_9892;field_52622:Lnet/minecraft/class_3218;
official f
Ldhx;f:Lash;
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/world/explosion/ExplosionImpl;pos:Lnet/minecraft/util/math/Vec3d;
intermediary field_52623
Lnet/minecraft/class_9892;field_52623:Lnet/minecraft/class_243;
official g
Ldhx;g:Lfbx;
-
entity
- Mappings:
Namespace Name Mixin selector named entity
Lnet/minecraft/world/explosion/ExplosionImpl;entity:Lnet/minecraft/entity/Entity;
intermediary field_52624
Lnet/minecraft/class_9892;field_52624:Lnet/minecraft/class_1297;
official h
Ldhx;h:Lbvj;
-
power
private final float power- Mappings:
Namespace Name Mixin selector named power
Lnet/minecraft/world/explosion/ExplosionImpl;power:F
intermediary field_52625
Lnet/minecraft/class_9892;field_52625:F
official i
Ldhx;i:F
-
damageSource
- Mappings:
Namespace Name Mixin selector named damageSource
Lnet/minecraft/world/explosion/ExplosionImpl;damageSource:Lnet/minecraft/entity/damage/DamageSource;
intermediary field_52626
Lnet/minecraft/class_9892;field_52626:Lnet/minecraft/class_1282;
official j
Ldhx;j:Lbtz;
-
behavior
- Mappings:
Namespace Name Mixin selector named behavior
Lnet/minecraft/world/explosion/ExplosionImpl;behavior:Lnet/minecraft/world/explosion/ExplosionBehavior;
intermediary field_52627
Lnet/minecraft/class_9892;field_52627:Lnet/minecraft/class_5362;
official k
Ldhx;k:Ldha;
-
knockbackByPlayer
- Mappings:
Namespace Name Mixin selector named knockbackByPlayer
Lnet/minecraft/world/explosion/ExplosionImpl;knockbackByPlayer:Ljava/util/Map;
intermediary field_52628
Lnet/minecraft/class_9892;field_52628:Ljava/util/Map;
official l
Ldhx;l:Ljava/util/Map;
-
-
Constructor Details
-
ExplosionImpl
public ExplosionImpl(ServerWorld world, @Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, Explosion.DestructionType destructionType) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/explosion/ExplosionImpl;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;Lnet/minecraft/util/math/Vec3d;FZLnet/minecraft/world/explosion/Explosion$DestructionType;)V
intermediary <init>
Lnet/minecraft/class_9892;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;Lnet/minecraft/class_243;FZLnet/minecraft/class_1927$class_4179;)V
official <init>
Ldhx;<init>(Lash;Lbvj;Lbtz;Ldha;Lfbx;FZLdgz$a;)V
-
-
Method Details
-
makeBehavior
- Mappings:
Namespace Name Mixin selector named makeBehavior
Lnet/minecraft/world/explosion/ExplosionImpl;makeBehavior(Lnet/minecraft/entity/Entity;)Lnet/minecraft/world/explosion/ExplosionBehavior;
intermediary method_61734
Lnet/minecraft/class_9892;method_61734(Lnet/minecraft/class_1297;)Lnet/minecraft/class_5362;
official b
Ldhx;b(Lbvj;)Ldha;
-
calculateReceivedDamage
- Mappings:
Namespace Name Mixin selector named calculateReceivedDamage
Lnet/minecraft/world/explosion/ExplosionImpl;calculateReceivedDamage(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/Entity;)F
intermediary method_61731
Lnet/minecraft/class_9892;method_61731(Lnet/minecraft/class_243;Lnet/minecraft/class_1297;)F
official a
Ldhx;a(Lfbx;Lbvj;)F
-
getPower
public float getPower() -
getPosition
- Specified by:
getPosition
in interfaceExplosion
- Mappings:
Namespace Name Mixin selector named getPosition
Lnet/minecraft/world/explosion/Explosion;getPosition()Lnet/minecraft/util/math/Vec3d;
intermediary method_55109
Lnet/minecraft/class_1927;method_55109()Lnet/minecraft/class_243;
official f
Ldgz;f()Lfbx;
-
getBlocksToDestroy
- Mappings:
Namespace Name Mixin selector named getBlocksToDestroy
Lnet/minecraft/world/explosion/ExplosionImpl;getBlocksToDestroy()Ljava/util/List;
intermediary method_61740
Lnet/minecraft/class_9892;method_61740()Ljava/util/List;
official l
Ldhx;l()Ljava/util/List;
-
damageEntities
private void damageEntities()- Mappings:
Namespace Name Mixin selector named damageEntities
Lnet/minecraft/world/explosion/ExplosionImpl;damageEntities()V
intermediary method_61741
Lnet/minecraft/class_9892;method_61741()V
official m
Ldhx;m()V
-
destroyBlocks
- Mappings:
Namespace Name Mixin selector named destroyBlocks
Lnet/minecraft/world/explosion/ExplosionImpl;destroyBlocks(Ljava/util/List;)V
intermediary method_61732
Lnet/minecraft/class_9892;method_61732(Ljava/util/List;)V
official a
Ldhx;a(Ljava/util/List;)V
-
createFire
- Mappings:
Namespace Name Mixin selector named createFire
Lnet/minecraft/world/explosion/ExplosionImpl;createFire(Ljava/util/List;)V
intermediary method_61735
Lnet/minecraft/class_9892;method_61735(Ljava/util/List;)V
official b
Ldhx;b(Ljava/util/List;)V
-
explode
public void explode()- Mappings:
Namespace Name Mixin selector named explode
Lnet/minecraft/world/explosion/ExplosionImpl;explode()V
intermediary method_61737
Lnet/minecraft/class_9892;method_61737()V
official i
Ldhx;i()V
-
addDroppedItem
private static void addDroppedItem(List<ExplosionImpl.DroppedItem> droppedItemsOut, ItemStack item, BlockPos pos) - Mappings:
Namespace Name Mixin selector named addDroppedItem
Lnet/minecraft/world/explosion/ExplosionImpl;addDroppedItem(Ljava/util/List;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_61733
Lnet/minecraft/class_9892;method_61733(Ljava/util/List;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;)V
official a
Ldhx;a(Ljava/util/List;Lcxo;Ljh;)V
-
shouldDestroyBlocks
private boolean shouldDestroyBlocks()- Mappings:
Namespace Name Mixin selector named shouldDestroyBlocks
Lnet/minecraft/world/explosion/ExplosionImpl;shouldDestroyBlocks()Z
intermediary method_61742
Lnet/minecraft/class_9892;method_61742()Z
official n
Ldhx;n()Z
-
getKnockbackByPlayer
- Mappings:
Namespace Name Mixin selector named getKnockbackByPlayer
Lnet/minecraft/world/explosion/ExplosionImpl;getKnockbackByPlayer()Ljava/util/Map;
intermediary method_61738
Lnet/minecraft/class_9892;method_61738()Ljava/util/Map;
official j
Ldhx;j()Ljava/util/Map;
-
getWorld
- Specified by:
getWorld
in interfaceExplosion
- Mappings:
Namespace Name Mixin selector named getWorld
Lnet/minecraft/world/explosion/Explosion;getWorld()Lnet/minecraft/server/world/ServerWorld;
intermediary method_64504
Lnet/minecraft/class_1927;method_64504()Lnet/minecraft/class_3218;
official a
Ldgz;a()Lash;
-
getCausingEntity
- Specified by:
getCausingEntity
in interfaceExplosion
- Mappings:
Namespace Name Mixin selector named getCausingEntity
Lnet/minecraft/world/explosion/Explosion;getCausingEntity()Lnet/minecraft/entity/LivingEntity;
intermediary method_8347
Lnet/minecraft/class_1927;method_8347()Lnet/minecraft/class_1309;
official c
Ldgz;c()Lbwf;
-
getEntity
- Specified by:
getEntity
in interfaceExplosion
- Mappings:
Namespace Name Mixin selector named getEntity
Lnet/minecraft/world/explosion/Explosion;getEntity()Lnet/minecraft/entity/Entity;
intermediary method_46406
Lnet/minecraft/class_1927;method_46406()Lnet/minecraft/class_1297;
official d
Ldgz;d()Lbvj;
-
getDestructionType
- Specified by:
getDestructionType
in interfaceExplosion
- Mappings:
Namespace Name Mixin selector named getDestructionType
Lnet/minecraft/world/explosion/Explosion;getDestructionType()Lnet/minecraft/world/explosion/Explosion$DestructionType;
intermediary method_55111
Lnet/minecraft/class_1927;method_55111()Lnet/minecraft/class_1927$class_4179;
official b
Ldgz;b()Ldgz$a;
-
canTriggerBlocks
public boolean canTriggerBlocks()- Specified by:
canTriggerBlocks
in interfaceExplosion
- Mappings:
Namespace Name Mixin selector named canTriggerBlocks
Lnet/minecraft/world/explosion/Explosion;canTriggerBlocks()Z
intermediary method_60274
Lnet/minecraft/class_1927;method_60274()Z
official g
Ldgz;g()Z
-
preservesDecorativeEntities
public boolean preservesDecorativeEntities()- Specified by:
preservesDecorativeEntities
in interfaceExplosion
- Mappings:
Namespace Name Mixin selector named preservesDecorativeEntities
Lnet/minecraft/world/explosion/Explosion;preservesDecorativeEntities()Z
intermediary method_61722
Lnet/minecraft/class_1927;method_61722()Z
official h
Ldgz;h()Z
-
isSmall
public boolean isSmall()- Mappings:
Namespace Name Mixin selector named isSmall
Lnet/minecraft/world/explosion/ExplosionImpl;isSmall()Z
intermediary method_61739
Lnet/minecraft/class_9892;method_61739()Z
official k
Ldhx;k()Z
-