Package net.minecraft.util.datafix.codec
Class DatapackCodec
- java.lang.Object
-
- net.minecraft.util.datafix.codec.DatapackCodec
-
public class DatapackCodec extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<DatapackCodec>
CODEC
static DatapackCodec
DEFAULT
private java.util.List<java.lang.String>
disabled
private java.util.List<java.lang.String>
enabled
-
Constructor Summary
Constructors Constructor Description DatapackCodec(java.util.List<java.lang.String> p_i231607_1_, java.util.List<java.lang.String> p_i231607_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModPacks(java.util.List<java.lang.String> modPacks)
java.util.List<java.lang.String>
getDisabled()
java.util.List<java.lang.String>
getEnabled()
-
-
-
Field Detail
-
DEFAULT
public static final DatapackCodec DEFAULT
-
CODEC
public static final com.mojang.serialization.Codec<DatapackCodec> CODEC
-
enabled
private final java.util.List<java.lang.String> enabled
-
disabled
private final java.util.List<java.lang.String> disabled
-
-