Package net.minecraft.loot.context
Class LootContextParameters
java.lang.Object
net.minecraft.loot.context.LootContextParameters
public class LootContextParameters extends Object
- Mappings:
Namespace Name official dgointermediary net/minecraft/class_181named net/minecraft/loot/context/LootContextParameters
-
Field Summary
Fields Modifier and Type Field Description static LootContextParameter<BlockEntity>BLOCK_ENTITYstatic LootContextParameter<BlockState>BLOCK_STATEstatic LootContextParameter<DamageSource>DAMAGE_SOURCEstatic LootContextParameter<Entity>DIRECT_KILLER_ENTITYstatic LootContextParameter<Float>EXPLOSION_RADIUSstatic LootContextParameter<Entity>KILLER_ENTITYstatic LootContextParameter<PlayerEntity>LAST_DAMAGE_PLAYERstatic LootContextParameter<Vec3d>ORIGINstatic LootContextParameter<Entity>THIS_ENTITYstatic LootContextParameter<ItemStack>TOOL -
Constructor Summary
Constructors Constructor Description LootContextParameters() -
Method Summary
Modifier and Type Method Description private static <T> LootContextParameter<T>register(String name)
-
Field Details
-
THIS_ENTITY
- Mappings:
Namespace Name Mixin selector official aLdgo;a:Ldgl;intermediary field_1226Lnet/minecraft/class_181;field_1226:Lnet/minecraft/class_169;named THIS_ENTITYLnet/minecraft/loot/context/LootContextParameters;THIS_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
-
LAST_DAMAGE_PLAYER
- Mappings:
Namespace Name Mixin selector official bLdgo;b:Ldgl;intermediary field_1233Lnet/minecraft/class_181;field_1233:Lnet/minecraft/class_169;named LAST_DAMAGE_PLAYERLnet/minecraft/loot/context/LootContextParameters;LAST_DAMAGE_PLAYER:Lnet/minecraft/loot/context/LootContextParameter;
-
DAMAGE_SOURCE
- Mappings:
Namespace Name Mixin selector official cLdgo;c:Ldgl;intermediary field_1231Lnet/minecraft/class_181;field_1231:Lnet/minecraft/class_169;named DAMAGE_SOURCELnet/minecraft/loot/context/LootContextParameters;DAMAGE_SOURCE:Lnet/minecraft/loot/context/LootContextParameter;
-
KILLER_ENTITY
- Mappings:
Namespace Name Mixin selector official dLdgo;d:Ldgl;intermediary field_1230Lnet/minecraft/class_181;field_1230:Lnet/minecraft/class_169;named KILLER_ENTITYLnet/minecraft/loot/context/LootContextParameters;KILLER_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
-
DIRECT_KILLER_ENTITY
- Mappings:
Namespace Name Mixin selector official eLdgo;e:Ldgl;intermediary field_1227Lnet/minecraft/class_181;field_1227:Lnet/minecraft/class_169;named DIRECT_KILLER_ENTITYLnet/minecraft/loot/context/LootContextParameters;DIRECT_KILLER_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
-
ORIGIN
- Mappings:
Namespace Name Mixin selector official fLdgo;f:Ldgl;intermediary field_24424Lnet/minecraft/class_181;field_24424:Lnet/minecraft/class_169;named ORIGINLnet/minecraft/loot/context/LootContextParameters;ORIGIN:Lnet/minecraft/loot/context/LootContextParameter;
-
BLOCK_STATE
- Mappings:
Namespace Name Mixin selector official gLdgo;g:Ldgl;intermediary field_1224Lnet/minecraft/class_181;field_1224:Lnet/minecraft/class_169;named BLOCK_STATELnet/minecraft/loot/context/LootContextParameters;BLOCK_STATE:Lnet/minecraft/loot/context/LootContextParameter;
-
BLOCK_ENTITY
- Mappings:
Namespace Name Mixin selector official hLdgo;h:Ldgl;intermediary field_1228Lnet/minecraft/class_181;field_1228:Lnet/minecraft/class_169;named BLOCK_ENTITYLnet/minecraft/loot/context/LootContextParameters;BLOCK_ENTITY:Lnet/minecraft/loot/context/LootContextParameter;
-
TOOL
- Mappings:
Namespace Name Mixin selector official iLdgo;i:Ldgl;intermediary field_1229Lnet/minecraft/class_181;field_1229:Lnet/minecraft/class_169;named TOOLLnet/minecraft/loot/context/LootContextParameters;TOOL:Lnet/minecraft/loot/context/LootContextParameter;
-
EXPLOSION_RADIUS
- Mappings:
Namespace Name Mixin selector official jLdgo;j:Ldgl;intermediary field_1225Lnet/minecraft/class_181;field_1225:Lnet/minecraft/class_169;named EXPLOSION_RADIUSLnet/minecraft/loot/context/LootContextParameters;EXPLOSION_RADIUS:Lnet/minecraft/loot/context/LootContextParameter;
-
-
Constructor Details
-
LootContextParameters
public LootContextParameters()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLdgo;a(Ljava/lang/String;)Ldgl;intermediary method_798Lnet/minecraft/class_181;method_798(Ljava/lang/String;)Lnet/minecraft/class_169;named registerLnet/minecraft/loot/context/LootContextParameters;register(Ljava/lang/String;)Lnet/minecraft/loot/context/LootContextParameter;
-