net.minecraft.world.gen.loot

public class LootContext

col
net.minecraft.class_47
net.minecraft.world.gen.loot.LootContext
net.minecraft.world.storage.loot.LootContext
net.minecraft.world.storage.loot.LootContext

Field summary

Modifier and TypeField
private final Random
a
field_923
random
field_216035_a
field_216035_a
private final float
b
field_926
luck
field_186498_a
field_186498_a
private final ServerWorld
c
field_928
world
field_186499_b
field_186499_b
private final LootTables
d
field_924
lootTables
field_186500_c
field_186500_c
private final Set<LootTable>
e
field_927
visitedLootTables
field_186504_g
field_186504_g
private final Map<LootContextParameter<?>, Object>
f
field_925
f_22515907
field_216036_f
field_216036_f
private final Map<Identifier, LootContext$DynamicDrop>
g
field_929
f_36270948
field_216037_g
field_216037_g

Constructor summary

ModifierConstructor
private (Random arg0, float arg1, ServerWorld arg2, LootTables arg3, Map<LootContextParameter<?>, Object> arg4, Map<Identifier, LootContext$DynamicDrop> arg5)

Method summary

Modifier and TypeMethod
public boolean
a(cqk<?> arg0)
method_300(class_169<?> arg0)
m_90953964(LootContextParameter<?> arg0)
func_216033_a(LootParameter<?> arg0)
func_216033_a(LootParameter<?> arg0)
public void
a(qs arg0, Consumer<bca> arg1)
method_297(class_2960 arg0, Consumer<class_1799> arg1)
m_33400648(Identifier arg0, Consumer<ItemStack> arg1)
func_216034_a(ResourceLocation arg0, Consumer<ItemStack> arg1)
func_216034_a(ResourceLocation arg0, Consumer<ItemStack> arg1)
public <T> T
c(cqk<T> arg0)
method_296(class_169<T> arg0)
m_16290666(LootContextParameter<T> arg0)
func_216031_c(LootParameter<T> arg0)
func_216031_c(LootParameter<T> arg0)
public boolean
a(cop arg0)
method_298(class_52 arg0)
addVisitedLootTable(LootTable lootTable)
func_186496_a(LootTable arg0)
addLootTable(LootTable lootTableIn)
public void
b(cop arg0)
method_295(class_52 arg0)
removeVisitedLootTable(LootTable lootTable)
func_186490_b(LootTable arg0)
removeLootTable(LootTable lootTableIn)
public LootTables
a()
method_301()
getLootTables()
func_186497_e()
getLootTableManager()
public Random
b()
method_294()
getRandom()
func_216032_b()
func_216032_b()
public float
c()
method_302()
getLuck()
func_186491_f()
getLuck()
public ServerWorld
d()
method_299()
getWorld()
func_202879_g()
getWorld()