Package net.minecraft.loot.condition
Class LocationCheckLootCondition
java.lang.Object
net.minecraft.loot.condition.LocationCheckLootCondition
- All Implemented Interfaces:
Predicate<LootContext>
,LootCondition
,LootContextAware
public class LocationCheckLootCondition extends Object implements LootCondition
- Mappings:
Namespace Name official dgy
intermediary net/minecraft/class_205
named net/minecraft/loot/condition/LocationCheckLootCondition
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocationCheckLootCondition.Serializer
Nested classes/interfaces inherited from interface net.minecraft.loot.condition.LootCondition
LootCondition.Builder
-
Field Summary
Fields Modifier and Type Field Description private BlockPos
offset
private LocationPredicate
predicate
-
Constructor Summary
Constructors Modifier Constructor Description private
LocationCheckLootCondition(LocationPredicate predicate, BlockPos offset)
-
Method Summary
Modifier and Type Method Description static LootCondition.Builder
builder(LocationPredicate.Builder predicateBuilder)
static LootCondition.Builder
builder(LocationPredicate.Builder predicateBuilder, BlockPos pos)
LootConditionType
getType()
boolean
test(LootContext lootContext)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters, validate
-
Field Details
-
predicate
- Mappings:
Namespace Name Mixin selector official a
Ldgy;a:Lbw;
intermediary field_1282
Lnet/minecraft/class_205;field_1282:Lnet/minecraft/class_2090;
named predicate
Lnet/minecraft/loot/condition/LocationCheckLootCondition;predicate:Lnet/minecraft/predicate/entity/LocationPredicate;
-
offset
- Mappings:
Namespace Name Mixin selector official b
Ldgy;b:Lfx;
intermediary field_20765
Lnet/minecraft/class_205;field_20765:Lnet/minecraft/class_2338;
named offset
Lnet/minecraft/loot/condition/LocationCheckLootCondition;offset:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
LocationCheckLootCondition
- Mappings:
Namespace Name Mixin selector official <init>
Ldgy;<init>(Lbw;Lfx;)V
intermediary <init>
Lnet/minecraft/class_205;<init>(Lnet/minecraft/class_2090;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/loot/condition/LocationCheckLootCondition;<init>(Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootCondition
- Mappings:
Namespace Name Mixin selector official a
Ldha;a()Ldhb;
intermediary method_29325
Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;
named getType
Lnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
-
test
- Specified by:
test
in interfacePredicate<LootContext>
- Mappings:
Namespace Name Mixin selector official a
Ldgy;a(Ldei;)Z
intermediary method_881
Lnet/minecraft/class_205;method_881(Lnet/minecraft/class_47;)Z
named test
Lnet/minecraft/loot/condition/LocationCheckLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-
builder
- Mappings:
Namespace Name Mixin selector official a
Ldgy;a(Lbw$a;)Ldha$a;
intermediary method_884
Lnet/minecraft/class_205;method_884(Lnet/minecraft/class_2090$class_2091;)Lnet/minecraft/class_5341$class_210;
named builder
Lnet/minecraft/loot/condition/LocationCheckLootCondition;builder(Lnet/minecraft/predicate/entity/LocationPredicate$Builder;)Lnet/minecraft/loot/condition/LootCondition$Builder;
-
builder
public static LootCondition.Builder builder(LocationPredicate.Builder predicateBuilder, BlockPos pos)- Mappings:
Namespace Name Mixin selector official a
Ldgy;a(Lbw$a;Lfx;)Ldha$a;
intermediary method_30151
Lnet/minecraft/class_205;method_30151(Lnet/minecraft/class_2090$class_2091;Lnet/minecraft/class_2338;)Lnet/minecraft/class_5341$class_210;
named builder
Lnet/minecraft/loot/condition/LocationCheckLootCondition;builder(Lnet/minecraft/predicate/entity/LocationPredicate$Builder;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/loot/condition/LootCondition$Builder;
-