Package net.minecraft.loot.context
Class LootContextParameterSet.Builder
java.lang.Object
net.minecraft.loot.context.LootContextParameterSet.Builder
- Enclosing class:
LootContextParameterSet
- Mappings:
Namespace Name named net/minecraft/loot/context/LootContextParameterSet$Builderintermediary net/minecraft/class_8567$class_8568official eru$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Identifier, LootContextParameterSet.DynamicDrop> private floatprivate final Map<LootContextParameter<?>, Object> private final ServerWorld -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(LootContextParameter<T> parameter, T value) addDynamicDrop(Identifier id, LootContextParameterSet.DynamicDrop dynamicDrop) addOptional(LootContextParameter<T> parameter, T value) build(LootContextType contextType) <T> Tget(LootContextParameter<T> parameter) <T> TgetOptional(LootContextParameter<T> parameter) getWorld()luck(float luck)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/loot/context/LootContextParameterSet$Builder;world:Lnet/minecraft/server/world/ServerWorld;intermediary field_44887Lnet/minecraft/class_8567$class_8568;field_44887:Lnet/minecraft/class_3218;official aLeru$a;a:Laqu;
-
parameters
- Mappings:
Namespace Name Mixin selector named parametersLnet/minecraft/loot/context/LootContextParameterSet$Builder;parameters:Ljava/util/Map;intermediary field_44888Lnet/minecraft/class_8567$class_8568;field_44888:Ljava/util/Map;official bLeru$a;b:Ljava/util/Map;
-
dynamicDrops
- Mappings:
Namespace Name Mixin selector named dynamicDropsLnet/minecraft/loot/context/LootContextParameterSet$Builder;dynamicDrops:Ljava/util/Map;intermediary field_44889Lnet/minecraft/class_8567$class_8568;field_44889:Ljava/util/Map;official cLeru$a;c:Ljava/util/Map;
-
luck
private float luck- Mappings:
Namespace Name Mixin selector named luckLnet/minecraft/loot/context/LootContextParameterSet$Builder;luck:Fintermediary field_44890Lnet/minecraft/class_8567$class_8568;field_44890:Fofficial dLeru$a;d:F
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/loot/context/LootContextParameterSet$Builder;<init>(Lnet/minecraft/server/world/ServerWorld;)Vintermediary <init>Lnet/minecraft/class_8567$class_8568;<init>(Lnet/minecraft/class_3218;)Vofficial <init>Leru$a;<init>(Laqu;)V
-
-
Method Details
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/loot/context/LootContextParameterSet$Builder;getWorld()Lnet/minecraft/server/world/ServerWorld;intermediary method_51870Lnet/minecraft/class_8567$class_8568;method_51870()Lnet/minecraft/class_3218;official aLeru$a;a()Laqu;
-
add
- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/loot/context/LootContextParameterSet$Builder;add(Lnet/minecraft/loot/context/LootContextParameter;Ljava/lang/Object;)Lnet/minecraft/loot/context/LootContextParameterSet$Builder;intermediary method_51874Lnet/minecraft/class_8567$class_8568;method_51874(Lnet/minecraft/class_169;Ljava/lang/Object;)Lnet/minecraft/class_8567$class_8568;official aLeru$a;a(Leuk;Ljava/lang/Object;)Leru$a;
-
addOptional
public <T> LootContextParameterSet.Builder addOptional(LootContextParameter<T> parameter, @Nullable T value) - Mappings:
Namespace Name Mixin selector named addOptionalLnet/minecraft/loot/context/LootContextParameterSet$Builder;addOptional(Lnet/minecraft/loot/context/LootContextParameter;Ljava/lang/Object;)Lnet/minecraft/loot/context/LootContextParameterSet$Builder;intermediary method_51877Lnet/minecraft/class_8567$class_8568;method_51877(Lnet/minecraft/class_169;Ljava/lang/Object;)Lnet/minecraft/class_8567$class_8568;official bLeru$a;b(Leuk;Ljava/lang/Object;)Leru$a;
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/loot/context/LootContextParameterSet$Builder;get(Lnet/minecraft/loot/context/LootContextParameter;)Ljava/lang/Object;intermediary method_51873Lnet/minecraft/class_8567$class_8568;method_51873(Lnet/minecraft/class_169;)Ljava/lang/Object;official aLeru$a;a(Leuk;)Ljava/lang/Object;
-
getOptional
- Mappings:
Namespace Name Mixin selector named getOptionalLnet/minecraft/loot/context/LootContextParameterSet$Builder;getOptional(Lnet/minecraft/loot/context/LootContextParameter;)Ljava/lang/Object;intermediary method_51876Lnet/minecraft/class_8567$class_8568;method_51876(Lnet/minecraft/class_169;)Ljava/lang/Object;official bLeru$a;b(Leuk;)Ljava/lang/Object;
-
addDynamicDrop
public LootContextParameterSet.Builder addDynamicDrop(Identifier id, LootContextParameterSet.DynamicDrop dynamicDrop) - Mappings:
Namespace Name Mixin selector named addDynamicDropLnet/minecraft/loot/context/LootContextParameterSet$Builder;addDynamicDrop(Lnet/minecraft/util/Identifier;Lnet/minecraft/loot/context/LootContextParameterSet$DynamicDrop;)Lnet/minecraft/loot/context/LootContextParameterSet$Builder;intermediary method_51872Lnet/minecraft/class_8567$class_8568;method_51872(Lnet/minecraft/class_2960;Lnet/minecraft/class_8567$class_49;)Lnet/minecraft/class_8567$class_8568;official aLeru$a;a(Lakr;Leru$b;)Leru$a;
-
luck
- Mappings:
Namespace Name Mixin selector named luckLnet/minecraft/loot/context/LootContextParameterSet$Builder;luck(F)Lnet/minecraft/loot/context/LootContextParameterSet$Builder;intermediary method_51871Lnet/minecraft/class_8567$class_8568;method_51871(F)Lnet/minecraft/class_8567$class_8568;official aLeru$a;a(F)Leru$a;
-
build
- Mappings:
Namespace Name Mixin selector named buildLnet/minecraft/loot/context/LootContextParameterSet$Builder;build(Lnet/minecraft/loot/context/LootContextType;)Lnet/minecraft/loot/context/LootContextParameterSet;intermediary method_51875Lnet/minecraft/class_8567$class_8568;method_51875(Lnet/minecraft/class_176;)Lnet/minecraft/class_8567;official aLeru$a;a(Leul;)Leru;
-