Class ExplosionImpl

java.lang.Object
net.minecraft.world.explosion.ExplosionImpl
All Implemented Interfaces:
Explosion

public class ExplosionImpl extends Object implements Explosion
Mappings:
Namespace Name
named net/minecraft/world/explosion/ExplosionImpl
intermediary net/minecraft/class_9892
official dhx
  • Field Details

    • DEFAULT_BEHAVIOR

      private static final ExplosionBehavior 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

      private final Explosion.DestructionType 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

      private final ServerWorld 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

      private final Vec3d 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

      @Nullable private final @Nullable Entity 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

      private final DamageSource 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

      private final ExplosionBehavior 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

      private final Map<PlayerEntity,Vec3d> 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

      private ExplosionBehavior makeBehavior(@Nullable @Nullable Entity entity)
      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

      public static float calculateReceivedDamage(Vec3d pos, Entity entity)
      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()
      Specified by:
      getPower in interface Explosion
      Mappings:
      Namespace Name Mixin selector
      named getPower Lnet/minecraft/world/explosion/Explosion;getPower()F
      intermediary method_55107 Lnet/minecraft/class_1927;method_55107()F
      official e Ldgz;e()F
    • getPosition

      public Vec3d getPosition()
      Specified by:
      getPosition in interface Explosion
      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

      private List<BlockPos> 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

      private void destroyBlocks(List<BlockPos> positions)
      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

      private void createFire(List<BlockPos> positions)
      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

      public Map<PlayerEntity,Vec3d> 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

      public ServerWorld getWorld()
      Specified by:
      getWorld in interface Explosion
      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

      @Nullable public @Nullable LivingEntity getCausingEntity()
      Specified by:
      getCausingEntity in interface Explosion
      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

      @Nullable public @Nullable Entity getEntity()
      Specified by:
      getEntity in interface Explosion
      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

      public Explosion.DestructionType getDestructionType()
      Specified by:
      getDestructionType in interface Explosion
      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 interface Explosion
      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 interface Explosion
      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