Uses of Interface
net.minecraft.loot.condition.LootCondition.Builder
Package
Description
-
Uses of LootCondition.Builder in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionItemCriterion.Conditions.createPlacedBlock
(LootCondition.Builder[] locationConditions) -
Uses of LootCondition.Builder in net.minecraft.data.server.loottable
Modifier and TypeFieldDescriptionprotected static final LootCondition.Builder
BlockLootTableGenerator.WITH_SHEARS
Modifier and TypeMethodDescriptionprotected LootCondition.Builder
BlockLootTableGenerator.createSilkTouchCondition()
private LootCondition.Builder
BlockLootTableGenerator.createWithoutShearsOrSilkTouchCondition()
protected LootCondition.Builder
BlockLootTableGenerator.createWithoutSilkTouchCondition()
private LootCondition.Builder
BlockLootTableGenerator.createWithShearsOrSilkTouchCondition()
protected LootCondition.Builder
EntityLootTableGenerator.killedByFrog()
protected LootCondition.Builder
EntityLootTableGenerator.killedByFrog
(RegistryKey<FrogVariant> frogVariant) Modifier and TypeMethodDescriptionprotected LootTable.Builder
BlockLootTableGenerator.cropDrops
(Block crop, Item product, Item seeds, LootCondition.Builder condition) private static LootTable.Builder
BlockLootTableGenerator.drops
(Block drop, LootCondition.Builder conditionBuilder, LootPoolEntry.Builder<?> child) protected LootTable.Builder
BlockLootTableGenerator.multifaceGrowthDrops
(Block drop, LootCondition.Builder condition) -
Uses of LootCondition.Builder in net.minecraft.enchantment
Modifier and TypeMethodDescriptionEnchantment.Builder.addEffect
(ComponentType<List<EnchantmentEffectEntry<E>>> effectType, E effect, LootCondition.Builder requirements) Enchantment.Builder.addEffect
(ComponentType<List<TargetedEnchantmentEffectType<E>>> effectType, EnchantmentEffectTarget enchanted, EnchantmentEffectTarget affected, E effect, LootCondition.Builder requirements) -
Uses of LootCondition.Builder in net.minecraft.loot
-
Uses of LootCondition.Builder in net.minecraft.loot.condition
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
Modifier and TypeMethodDescriptionstatic LootCondition.Builder
EnchantmentActiveCheckLootCondition.active()
Returns the value of theactive
record component.static LootCondition.Builder
DamageSourcePropertiesLootCondition.builder
(DamageSourcePredicate.Builder builder) static LootCondition.Builder
EntityPropertiesLootCondition.builder
(LootContext.EntityTarget entity, EntityPredicate predicate) static LootCondition.Builder
EntityPropertiesLootCondition.builder
(LootContext.EntityTarget entity, EntityPredicate.Builder predicateBuilder) static LootCondition.Builder
InvertedLootCondition.builder
(LootCondition.Builder term) static LootCondition.Builder
KilledByPlayerLootCondition.builder()
static LootCondition.Builder
LocationCheckLootCondition.builder
(LocationPredicate.Builder predicateBuilder) static LootCondition.Builder
LocationCheckLootCondition.builder
(LocationPredicate.Builder predicateBuilder, BlockPos pos) static LootCondition.Builder
MatchToolLootCondition.builder
(ItemPredicate.Builder predicate) static LootCondition.Builder
RandomChanceLootCondition.builder
(float chance) static LootCondition.Builder
RandomChanceLootCondition.builder
(LootNumberProvider chance) static LootCondition.Builder
RandomChanceWithEnchantedBonusLootCondition.builder
(RegistryWrapper.WrapperLookup registryLookup, float base, float perLevelAboveFirst) static LootCondition.Builder
ReferenceLootCondition.builder
(RegistryKey<LootCondition> key) static LootCondition.Builder
SurvivesExplosionLootCondition.builder()
static LootCondition.Builder
TableBonusLootCondition.builder
(RegistryEntry<Enchantment> enchantment, float[] chances) static LootCondition.Builder
ValueCheckLootCondition.builder
(LootNumberProvider value, BoundedIntUnaryOperator range) static LootCondition.Builder
EntityPropertiesLootCondition.create
(LootContext.EntityTarget entity) static LootCondition.Builder
EnchantmentActiveCheckLootCondition.inactive()
default LootCondition.Builder
LootCondition.Builder.invert()
Modifier and TypeMethodDescriptionvoid
AlternativeLootCondition.Builder.add
(LootCondition.Builder builder) AllOfLootCondition.Builder.and
(LootCondition.Builder condition) default AllOfLootCondition.Builder
LootCondition.Builder.and
(LootCondition.Builder condition) static AllOfLootCondition.Builder
AllOfLootCondition.builder
(LootCondition.Builder[] terms) static AnyOfLootCondition.Builder
AnyOfLootCondition.builder
(LootCondition.Builder[] terms) static LootCondition.Builder
InvertedLootCondition.builder
(LootCondition.Builder term) LootConditionConsumingBuilder.conditionally
(LootCondition.Builder condition) AnyOfLootCondition.Builder.or
(LootCondition.Builder condition) default AnyOfLootCondition.Builder
LootCondition.Builder.or
(LootCondition.Builder condition) Modifier and TypeMethodDescriptiondefault <E> T
LootConditionConsumingBuilder.conditionally
(Iterable<E> conditions, Function<E, LootCondition.Builder> toBuilderFunction) ModifierConstructorDescriptionBuilder
(LootCondition.Builder[] terms) protected
Builder
(LootCondition.Builder[] terms) Builder
(LootCondition.Builder[] terms) -
Uses of LootCondition.Builder in net.minecraft.loot.entry
Modifier and TypeMethodDescriptionLootPoolEntry.Builder.conditionally
(LootCondition.Builder builder) -
Uses of LootCondition.Builder in net.minecraft.loot.function
Modifier and TypeMethodDescriptionConditionalLootFunction.Builder.conditionally
(LootCondition.Builder builder)