/* * Decompiled with CFR 0.152. * * Could not load the following classes: * com.mojang.serialization.MapCodec */ package net.minecraft.world.item.slot; import com.mojang.serialization.MapCodec; import net.minecraft.world.item.slot.SlotCollection; import net.minecraft.world.item.slot.SlotSource; import net.minecraft.world.level.storage.loot.LootContext; public record EmptySlotSource() implements SlotSource { public static final MapCodec MAP_CODEC = MapCodec.unit((Object)new EmptySlotSource()); public MapCodec codec() { return MAP_CODEC; } @Override public SlotCollection provide(LootContext context) { return SlotCollection.EMPTY; } }