Class LootConditions
java.lang.Object
com.blamejared.crafttweaker.api.loot.condition.LootConditions
-
Method Summary
Modifier and TypeMethodDescriptionstatic LootConditionsallOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) static LootConditionsallOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) static LootConditionsanyOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) static LootConditionsanyOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) Predicate<net.minecraft.world.level.storage.loot.LootContext>gather()static LootConditionsnone()static LootConditionsnoneOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) static LootConditionsnoneOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) static LootConditionsnotAllOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) static LootConditionsnotAllOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) static LootConditionsonly(net.minecraft.world.level.storage.loot.predicates.LootItemCondition condition) static LootConditionsonly(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder builder) static LootConditionsrandomlyIn(double percentageChance)
-
Method Details
-
none
-
randomlyIn
-
only
public static LootConditions only(net.minecraft.world.level.storage.loot.predicates.LootItemCondition condition) -
only
public static LootConditions only(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder builder) -
allOf
public static LootConditions allOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) -
allOf
public static LootConditions allOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) -
anyOf
public static LootConditions anyOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) -
anyOf
public static LootConditions anyOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) -
noneOf
public static LootConditions noneOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) -
noneOf
public static LootConditions noneOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) -
notAllOf
public static LootConditions notAllOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition... conditions) -
notAllOf
public static LootConditions notAllOf(net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder... builders) -
gather
-