Package net.minecraft.util
Interface IStringSerializable
-
- All Known Implementing Classes:
AttachFace
,BambooLeaves
,BedPart
,BellAttachment
,Biome.Category
,Biome.RainType
,Biome.TemperatureModifier
,BiomeAmbience.GrassColorModifier
,ChestType
,Clips.ClipReference
,Clips.IdentityClip
,ComparatorMode
,Direction
,Direction.Axis
,DoorHingeSide
,DoubleBlockHalf
,DyeColor
,EntityClassification
,GenerationStage.Carving
,Half
,Heightmap.Type
,JigsawOrientation
,JigsawPattern.PlacementBehaviour
,JigsawTileEntity.OrientationType
,MineshaftStructure.Type
,NoteBlockInstrument
,OceanRuinStructure.Type
,Orientation
,PistonType
,RailShape
,RedstoneSide
,RuinedPortalStructure.Location
,SlabType
,StairsShape
,StructureMode
,TimeValues.IdentityValue
,TimeValues.ParameterValue
,WallHeight
public interface IStringSerializable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <E extends java.lang.Enum<E> & IStringSerializable>
com.mojang.serialization.Codec<E>fromEnum(java.util.function.Supplier<E[]> p_233023_0_, java.util.function.Function<? super java.lang.String,? extends E> p_233023_1_)
static <E extends IStringSerializable>
com.mojang.serialization.Codec<E>fromStringResolver(java.util.function.ToIntFunction<E> p_233024_0_, java.util.function.IntFunction<E> p_233024_1_, java.util.function.Function<? super java.lang.String,? extends E> p_233024_2_)
java.lang.String
getSerializedName()
static com.mojang.serialization.Keyable
keys(IStringSerializable[] p_233025_0_)
-
-
-
Method Detail
-
getSerializedName
java.lang.String getSerializedName()
-
fromEnum
static <E extends java.lang.Enum<E> & IStringSerializable> com.mojang.serialization.Codec<E> fromEnum(java.util.function.Supplier<E[]> p_233023_0_, java.util.function.Function<? super java.lang.String,? extends E> p_233023_1_)
-
fromStringResolver
static <E extends IStringSerializable> com.mojang.serialization.Codec<E> fromStringResolver(java.util.function.ToIntFunction<E> p_233024_0_, java.util.function.IntFunction<E> p_233024_1_, java.util.function.Function<? super java.lang.String,? extends E> p_233024_2_)
-
keys
static com.mojang.serialization.Keyable keys(IStringSerializable[] p_233025_0_)
-
-