Package net.minecraft.util
Interface StringRepresentable
- All Known Implementing Classes:
ArmorMaterials
,AttachFace
,Axolotl.Variant
,BambooLeaves
,BedPart
,BellAttachType
,Biome.TemperatureModifier
,BiomeSpecialEffects.GrassColorModifier
,BlockModelBuilder.RootTransformBuilder.TransformOrigin
,Boat.Type
,CaveSurface
,ChatFormatting
,ChatTrustLevel
,ChatTypeDecoration.Parameter
,ChestType
,ComparatorMode
,CookingBookCategory
,CraftingBookCategory
,DamageEffects
,DamageScaling
,DeathMessageType
,DensityFunctions.Mapped.Type
,DensityFunctions.Marker.Type
,DensityFunctions.TwoArgumentSimpleFunction.Type
,DensityFunctions.WeirdScaledSampler.RarityValueMapper
,Difficulty
,Direction
,Direction.Axis
,Display.BillboardConstraints
,Display.TextDisplay.Align
,DoorHingeSide
,DoubleBlockHalf
,DripstoneThickness
,DyeColor
,FilterMask.Type
,Fox.Type
,FrontAndTop
,GameType
,GenerationStep.Carving
,GenerationStep.Decoration
,GossipType
,Half
,Heightmap.Types
,ItemDisplayContext
,JigsawBlockEntity.JointType
,Llama.Variant
,LoggedChatEvent.Type
,MineshaftStructure.Type
,Mirror
,MobCategory
,MushroomCow.MushroomType
,NoteBlockInstrument
,ObjectiveCriteria.RenderType
,OceanRuinStructure.Type
,OctahedralGroup
,Panda.Gene
,Parrot.Variant
,PistonType
,Rabbit.Variant
,RailShape
,RandomSpreadType
,RedstoneSide
,Rotation
,RuinedPortalPiece.VerticalPlacement
,SculkSensorPhase
,SlabType
,StairsShape
,StructureMode
,StructurePlacement.FrequencyReductionMethod
,StructureSpawnOverride.BoundingBoxType
,StructureTemplatePool.Projection
,TelemetryProperty.GameMode
,TelemetryProperty.ServerType
,TerrainAdjustment
,Tilt
,TransformationHelper.TransformOrigin
,TropicalFish.Pattern
,Variant
,WallSide
public interface StringRepresentable
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
StringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>
Deprecated. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Enum<E> & StringRepresentable>
StringRepresentable.EnumCodec<E>static <E extends Enum<E> & StringRepresentable>
StringRepresentable.EnumCodec<E>fromEnumWithMapping
(Supplier<E[]> p_275615_, Function<String, String> p_275259_) static com.mojang.serialization.Keyable
keys
(StringRepresentable[] p_14358_)
-
Field Details
-
PRE_BUILT_MAP_THRESHOLD
static final int PRE_BUILT_MAP_THRESHOLD- See Also:
-
-
Method Details
-
getSerializedName
String getSerializedName() -
fromEnum
static <E extends Enum<E> & StringRepresentable> StringRepresentable.EnumCodec<E> fromEnum(Supplier<E[]> p_216440_) -
fromEnumWithMapping
static <E extends Enum<E> & StringRepresentable> StringRepresentable.EnumCodec<E> fromEnumWithMapping(Supplier<E[]> p_275615_, Function<String, String> p_275259_) -
keys
-