Class LootConditionMatchWrench
java.lang.Object
org.cyclops.integrateddynamics.loot.conditions.LootConditionMatchWrench
- All Implemented Interfaces:
Predicate<net.minecraft.world.level.storage.loot.LootContext>, net.minecraft.world.level.storage.loot.LootContextUser, net.minecraft.world.level.storage.loot.predicates.LootItemCondition, net.minecraft.world.level.storage.loot.Validatable
public class LootConditionMatchWrench
extends Object
implements net.minecraft.world.level.storage.loot.predicates.LootItemCondition
A loot condition testing if a wrench is used.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemCondition
net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<LootConditionMatchWrench> Fields inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemCondition
DIRECT_CODEC, TYPED_CODEC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Field Details
-
CODEC
-
-
Constructor Details
-
LootConditionMatchWrench
public LootConditionMatchWrench()
-
-
Method Details
-
test
-
codec
public com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.predicates.LootItemCondition> codec()- Specified by:
codecin interfacenet.minecraft.world.level.storage.loot.predicates.LootItemCondition
-