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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classStringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>Deprecated.
- 
Field SummaryFields
- 
Method SummaryModifier 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.Keyablekeys(StringRepresentable[] p_14358_) 
- 
Field Details- 
PRE_BUILT_MAP_THRESHOLDstatic final int PRE_BUILT_MAP_THRESHOLD- See Also:
 
 
- 
- 
Method Details- 
getSerializedNameString getSerializedName()
- 
fromEnumstatic <E extends Enum<E> & StringRepresentable> StringRepresentable.EnumCodec<E> fromEnum(Supplier<E[]> p_216440_) 
- 
fromEnumWithMappingstatic <E extends Enum<E> & StringRepresentable> StringRepresentable.EnumCodec<E> fromEnumWithMapping(Supplier<E[]> p_275615_, Function<String, String> p_275259_) 
- 
keys
 
-