Uses of Class
net.minecraft.util.StringIdentifiable.EnumCodec
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.entity
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<EquipmentSlot> EquipmentSlot.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionprivate static final StringIdentifiable.EnumCodec
<ArmadilloEntity.State> ArmadilloEntity.State.CODEC
static final StringIdentifiable.EnumCodec
<FoxEntity.Type> FoxEntity.Type.CODEC
static final StringIdentifiable.EnumCodec
<MooshroomEntity.Type> MooshroomEntity.Type.CODEC
static final StringIdentifiable.EnumCodec
<PandaEntity.Gene> PandaEntity.Gene.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.entity.vehicle
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<BoatEntity.Type> BoatEntity.Type.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.loot.context
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<LootContext.EntityTarget> LootContext.EntityTarget.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.recipe.book
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<CookingRecipeCategory> CookingRecipeCategory.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.scoreboard
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<ScoreboardCriterion.RenderType> ScoreboardCriterion.RenderType.CODEC
static final StringIdentifiable.EnumCodec
<ScoreboardDisplaySlot> ScoreboardDisplaySlot.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.structure
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<StructurePool.Projection> StructurePool.Projection.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.util
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<DyeColor> DyeColor.CODEC
Modifier and TypeMethodDescriptionstatic <E extends Enum<E> & StringIdentifiable>
StringIdentifiable.EnumCodec<E> StringIdentifiable.createCodec
(Supplier<E[]> enumValues) Creates a codec that serializes an enum implementing this interface either using its ordinals (when compressed) or using itsStringIdentifiable.asString()
method and a given decode function.static <E extends Enum<E> & StringIdentifiable>
StringIdentifiable.EnumCodec<E> StringIdentifiable.createCodec
(Supplier<E[]> enumValues, Function<String, String> valueNameTransformer) Creates a codec that serializes an enum implementing this interface either using its ordinals (when compressed) or using itsStringIdentifiable.asString()
method and a given decode function. -
Uses of StringIdentifiable.EnumCodec in net.minecraft.util.math
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<Direction.Axis> Direction.Axis.CODEC
static final StringIdentifiable.EnumCodec
<Direction> Direction.CODEC
-
Uses of StringIdentifiable.EnumCodec in net.minecraft.world
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<Difficulty> Difficulty.CODEC
static final StringIdentifiable.EnumCodec
<GameMode> GameMode.CODEC