Class LootContextParameters

java.lang.Object
net.minecraft.loot.context.LootContextParameters

public class LootContextParameters extends Object
Mappings:
Namespace Name
named net/minecraft/loot/context/LootContextParameters
intermediary net/minecraft/class_181
official etf
  • Field Details

    • THIS_ENTITY

      public static final LootContextParameter<Entity> THIS_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named THIS_ENTITY Lnet/minecraft/loot/context/LootContextParameters;THIS_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1226 Lnet/minecraft/class_181;field_1226:Lnet/minecraft/class_169;
      official a Letf;a:Letc;
    • LAST_DAMAGE_PLAYER

      public static final LootContextParameter<PlayerEntity> LAST_DAMAGE_PLAYER
      Mappings:
      Namespace Name Mixin selector
      named LAST_DAMAGE_PLAYER Lnet/minecraft/loot/context/LootContextParameters;LAST_DAMAGE_PLAYER:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1233 Lnet/minecraft/class_181;field_1233:Lnet/minecraft/class_169;
      official b Letf;b:Letc;
    • DAMAGE_SOURCE

      public static final LootContextParameter<DamageSource> DAMAGE_SOURCE
      Mappings:
      Namespace Name Mixin selector
      named DAMAGE_SOURCE Lnet/minecraft/loot/context/LootContextParameters;DAMAGE_SOURCE:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1231 Lnet/minecraft/class_181;field_1231:Lnet/minecraft/class_169;
      official c Letf;c:Letc;
    • KILLER_ENTITY

      public static final LootContextParameter<Entity> KILLER_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named KILLER_ENTITY Lnet/minecraft/loot/context/LootContextParameters;KILLER_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1230 Lnet/minecraft/class_181;field_1230:Lnet/minecraft/class_169;
      official d Letf;d:Letc;
    • DIRECT_KILLER_ENTITY

      public static final LootContextParameter<Entity> DIRECT_KILLER_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named DIRECT_KILLER_ENTITY Lnet/minecraft/loot/context/LootContextParameters;DIRECT_KILLER_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1227 Lnet/minecraft/class_181;field_1227:Lnet/minecraft/class_169;
      official e Letf;e:Letc;
    • ORIGIN

      public static final LootContextParameter<Vec3d> ORIGIN
      Mappings:
      Namespace Name Mixin selector
      named ORIGIN Lnet/minecraft/loot/context/LootContextParameters;ORIGIN:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_24424 Lnet/minecraft/class_181;field_24424:Lnet/minecraft/class_169;
      official f Letf;f:Letc;
    • BLOCK_STATE

      public static final LootContextParameter<BlockState> BLOCK_STATE
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_STATE Lnet/minecraft/loot/context/LootContextParameters;BLOCK_STATE:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1224 Lnet/minecraft/class_181;field_1224:Lnet/minecraft/class_169;
      official g Letf;g:Letc;
    • BLOCK_ENTITY

      public static final LootContextParameter<BlockEntity> BLOCK_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_ENTITY Lnet/minecraft/loot/context/LootContextParameters;BLOCK_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1228 Lnet/minecraft/class_181;field_1228:Lnet/minecraft/class_169;
      official h Letf;h:Letc;
    • TOOL

      public static final LootContextParameter<ItemStack> TOOL
      Mappings:
      Namespace Name Mixin selector
      named TOOL Lnet/minecraft/loot/context/LootContextParameters;TOOL:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1229 Lnet/minecraft/class_181;field_1229:Lnet/minecraft/class_169;
      official i Letf;i:Letc;
    • EXPLOSION_RADIUS

      public static final LootContextParameter<Float> EXPLOSION_RADIUS
      Mappings:
      Namespace Name Mixin selector
      named EXPLOSION_RADIUS Lnet/minecraft/loot/context/LootContextParameters;EXPLOSION_RADIUS:Lnet/minecraft/loot/context/LootContextParameter;
      intermediary field_1225 Lnet/minecraft/class_181;field_1225:Lnet/minecraft/class_169;
      official j Letf;j:Letc;
  • Constructor Details

    • LootContextParameters

      public LootContextParameters()
  • Method Details

    • register

      private static <T> LootContextParameter<T> register(String name)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/loot/context/LootContextParameters;register(Ljava/lang/String;)Lnet/minecraft/loot/context/LootContextParameter;
      intermediary method_798 Lnet/minecraft/class_181;method_798(Ljava/lang/String;)Lnet/minecraft/class_169;
      official a Letf;a(Ljava/lang/String;)Letc;