net.minecraft.world.entity

public record EquipmentTable

bta
net.minecraft.world.entity.EquipmentTable
net.minecraft.class_9652
net.minecraft.entity.EquipmentTable
net.minecraft.src.C_313465_
net.minecraft.world.entity.EquipmentTable

Field summary

Modifier and TypeField
private final ResourceKey<LootTable>
c
lootTable
comp_2621
lootTable
f_316700_
private final Map<EquipmentSlot, Float>
d
slotDropChances
comp_2622
slotDropChances
f_315505_
public static final com.mojang.serialization.Codec<Map<EquipmentSlot, Float>>
a
DROP_CHANCES_CODEC
field_51374
SLOT_DROP_CHANCES_CODEC
f_316849_
public static final com.mojang.serialization.Codec<EquipmentTable>
b
CODEC
field_51375
CODEC
f_313947_

Constructor summary

ModifierConstructor
public (ResourceKey<LootTable> slotDropChances, Map<EquipmentSlot, Float> arg1)

Method summary

Modifier and TypeMethod
private static Map<EquipmentSlot, Float>
a(float arg0)
createForAllSlots(float arg0)
method_59658(float arg0)
createSlotDropChances(float dropChance)
m_322309_(float p_335505_)
private static Map<EquipmentSlot, Float>
a(List<bsy> arg0, float arg1)
createForAllSlots(List<EquipmentSlot> arg0, float arg1)
method_59661(List<class_1304> arg0, float arg1)
createSlotDropChances(List<EquipmentSlot> slots, float dropChance)
m_321920_(List<C_516_> p_331241_, float p_334411_)
public ResourceKey<LootTable>
a()
lootTable()
comp_2621()
lootTable()
f_316700_()
public Map<EquipmentSlot, Float>
b()
slotDropChances()
comp_2622()
slotDropChances()
f_315505_()