net.minecraft.entity

public record EquipmentTable

net.minecraft.world.entity.EquipmentTable
net.minecraft.world.entity.EquipmentTable
net.minecraft.class_9652
net.minecraft.entity.EquipmentTable

Field summary

Modifier and TypeField
private final RegistryKey<LootTable>
lootTable
lootTable
comp_2621
lootTable
private final Map<EquipmentSlot, Float>
slotDropChances
slotDropChances
comp_2622
slotDropChances
public static final com.mojang.serialization.Codec<Map<EquipmentSlot, Float>>
DROP_CHANCES_CODEC
DROP_CHANCES_CODEC
field_51374
SLOT_DROP_CHANCES_CODEC
public static final com.mojang.serialization.Codec<EquipmentTable>
CODEC
CODEC
field_51375
CODEC

Constructor summary

ModifierConstructor
public (RegistryKey<LootTable> lootTable, float slotDropChances)
public (RegistryKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances)

Method summary

Modifier and TypeMethod
private static Map<EquipmentSlot, Float>
createForAllSlots(float dropChance)
createForAllSlots(float dropChance)
method_59658(float arg0)
createSlotDropChances(float dropChance)
private static Map<EquipmentSlot, Float>
createForAllSlots(List<EquipmentSlot> slots, float dropChance)
createForAllSlots(List<EquipmentSlot> slots, float dropChance)
method_59661(List<class_1304> arg0, float arg1)
createSlotDropChances(List<EquipmentSlot> slots, float dropChance)
public RegistryKey<LootTable>
lootTable()
lootTable()
comp_2621()
lootTable()
public Map<EquipmentSlot, Float>
slotDropChances()
slotDropChances()
comp_2622()
slotDropChances()