30 lines
864 B
Java
30 lines
864 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* com.mojang.serialization.Codec
|
|
* com.mojang.serialization.MapCodec
|
|
*/
|
|
package net.minecraft.world.item.slot;
|
|
|
|
import com.mojang.serialization.Codec;
|
|
import com.mojang.serialization.MapCodec;
|
|
import java.util.List;
|
|
import net.minecraft.world.item.slot.CompositeSlotSource;
|
|
import net.minecraft.world.item.slot.SlotSource;
|
|
|
|
public class GroupSlotSource
|
|
extends CompositeSlotSource {
|
|
public static final MapCodec<GroupSlotSource> MAP_CODEC = GroupSlotSource.createCodec(GroupSlotSource::new);
|
|
public static final Codec<GroupSlotSource> INLINE_CODEC = GroupSlotSource.createInlineCodec(GroupSlotSource::new);
|
|
|
|
private GroupSlotSource(List<SlotSource> terms) {
|
|
super(terms);
|
|
}
|
|
|
|
public MapCodec<GroupSlotSource> codec() {
|
|
return MAP_CODEC;
|
|
}
|
|
}
|
|
|