Class LootConditions

java.lang.Object
com.blamejared.crafttweaker.api.loot.condition.LootConditions

@ZenRegister public class LootConditions extends Object
  • Method Details

    • none

      public static LootConditions none()
    • randomlyIn

      public static LootConditions randomlyIn(double percentageChance)
    • 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

      public Predicate<net.minecraft.world.level.storage.loot.LootContext> gather()