History - net.minecraft.loot.context.LootContext

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

LootContext$Entry<SlotSource> (SlotSource): createVisitedEntry, method_1_6882, slotSource

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.level.storage.loot.LootContext

net.minecraft.class_47

net.minecraft.loot.context.LootContext

Fields

LootWorldContext: params, field_44881, worldContext

Random: random, field_923, random

RegistryEntryLookup$RegistryLookup: lootDataResolver, field_44490, lookup

Set<LootContext$Entry<?>>: visitedElements, field_927, activeEntries

Constructors

(LootWorldContext, Random, RegistryEntryLookup$RegistryLookup)

Methods

boolean (ContextParameter<?>): hasParameter, method_300, hasParameter

<T> T (ContextParameter<T>): getParameter, method_35508, getOrThrow

<T> T (ContextParameter<T>): getOptionalParameter, method_65013, get

void (Identifier, Consumer<ItemStack>): addDynamicDrops, method_297, drop

boolean (LootContext$Entry<?>): hasVisitedElement, method_51184, isActive

boolean (LootContext$Entry<?>): pushVisitedElement, method_298, markActive

void (LootContext$Entry<?>): popVisitedElement, method_295, markInactive

RegistryEntryLookup$RegistryLookup (): getResolver, method_51183, getLookup

Random (): getRandom, method_294, getRandom

float (): getLuck, method_302, getLuck

ServerWorld (): getLevel, method_299, getWorld

LootContext$Entry<LootTable> (LootTable): createVisitedEntry, method_51185, table

LootContext$Entry<LootCondition> (LootCondition): createVisitedEntry, method_51187, predicate

LootContext$Entry<LootFunction> (LootFunction): createVisitedEntry, method_51186, itemModifier