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 dgz
  • Field Details Link icon

    • DEFAULT_BEHAVIOR Link icon

      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 Ldgz;a:Ldgc;
    • field_52618 Link icon

      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 Ldgz;b:I
    • field_52619 Link icon

      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 Ldgz;c:F
    • createFire Link icon

      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 Ldgz;d:Z
    • destructionType Link icon

      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 Ldgz;e:Ldgb$a;
    • world Link icon

      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 Ldgz;f:Lard;
    • pos Link icon

      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 Ldgz;g:Lfbb;
    • entity Link icon

      @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 Ldgz;h:Lbum;
    • power Link icon

      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 Ldgz;i:F
    • damageSource Link icon

      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 Ldgz;j:Lbtc;
    • behavior Link icon

      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 Ldgz;k:Ldgc;
    • knockbackByPlayer Link icon

      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 Ldgz;l:Ljava/util/Map;
  • Constructor Details Link icon

    • ExplosionImpl Link icon

      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> Ldgz;<init>(Lard;Lbum;Lbtc;Ldgc;Lfbb;FZLdgb$a;)V
  • Method Details Link icon

    • makeBehavior Link icon

      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 Ldgz;b(Lbum;)Ldgc;
    • calculateReceivedDamage Link icon

      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 Ldgz;a(Lfbb;Lbum;)F
    • getPower Link icon

      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 Ldgb;e()F
    • getPosition Link icon

      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 Ldgb;f()Lfbb;
    • getBlocksToDestroy Link icon

      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 m Ldgz;m()Ljava/util/List;
    • damageEntities Link icon

      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 n Ldgz;n()V
    • destroyBlocks Link icon

      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 Ldgz;a(Ljava/util/List;)V
    • createFire Link icon

      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 Ldgz;b(Ljava/util/List;)V
    • explode Link icon

      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 Ldgz;i()V
    • addDroppedItem Link icon

      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 Ldgz;a(Ljava/util/List;Lcwq;Lji;)V
    • shouldDestroyBlocks Link icon

      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 o Ldgz;o()Z
    • getKnockbackByPlayer Link icon

      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 Ldgz;j()Ljava/util/Map;
    • getWorld Link icon

      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 Ldgb;a()Lard;
    • getCausingEntity Link icon

      @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 Ldgb;c()Lbvi;
    • getEntity Link icon

      @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 Ldgb;d()Lbum;
    • getDamageSource Link icon

      public DamageSource getDamageSource()
      Mappings:
      Namespace Name Mixin selector
      named getDamageSource Lnet/minecraft/world/explosion/ExplosionImpl;getDamageSource()Lnet/minecraft/entity/damage/DamageSource;
      intermediary method_65132 Lnet/minecraft/class_9892;method_65132()Lnet/minecraft/class_1282;
      official k Ldgz;k()Lbtc;
    • getDestructionType Link icon

      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 Ldgb;b()Ldgb$a;
    • canTriggerBlocks Link icon

      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 Ldgb;g()Z
    • preservesDecorativeEntities Link icon

      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 Ldgb;h()Z
    • isSmall Link icon

      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 l Ldgz;l()Z