Package net.minecraft.util
Interface StringRepresentable
- All Known Implementing Classes:
ArmorMaterials
,AttachFace
,AttributeModifier.Operation
,Axolotl.Variant
,BambooLeaves
,BedPart
,BellAttachType
,Biome.TemperatureModifier
,BiomeSpecialEffects.GrassColorModifier
,Boat.Type
,CaveSurface
,ChatFormatting
,ChatTrustLevel
,ChatTypeDecoration.Parameter
,ChestType
,CloudStatus
,ComparatorMode
,CookingBookCategory
,CopyNameFunction.NameSource
,CopyNbtFunction.MergeStrategy
,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
,DisplaySlot
,DoorHingeSide
,DoubleBlockHalf
,DripstoneThickness
,DyeColor
,EquipmentSlot
,FilterMask.Type
,Fox.Type
,FrontAndTop
,GameType
,GenerationStep.Carving
,GenerationStep.Decoration
,GlyphProviderType
,GossipType
,GuiSpriteScaling.Type
,Half
,Heightmap.Types
,HumanoidArm
,ItemDisplayContext
,JigsawBlockEntity.JointType
,Llama.Variant
,LoggedChatEvent.Type
,LootContext.EntityTarget
,MapDecoration.Type
,MineshaftStructure.Type
,Mirror
,MobCategory
,MushroomCow.MushroomType
,NoteBlockInstrument
,ObjectiveCriteria.RenderType
,OceanRuinStructure.Type
,OctahedralGroup
,Panda.Gene
,Parrot.Variant
,PistonType
,QuickPlayLog.Type
,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
-