Class KeyResolvers
java.lang.Object
dev.dhyces.trimmed.impl.client.maps.KeyResolvers
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyResolver.Static<net.minecraft.world.entity.schedule.Activity> static final KeyResolver.Static<net.minecraft.world.item.ArmorMaterial> static final KeyResolver.Static<net.minecraft.world.entity.ai.attributes.Attribute> static final KeyResolver.Dynamic<net.minecraft.world.level.block.entity.BannerPattern> static final KeyResolver.Dynamic<net.minecraft.world.level.biome.Biome> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.biome.BiomeSource>> static final KeyResolver.Static<net.minecraft.world.level.block.Block> static final KeyResolver.Static<net.minecraft.world.level.block.entity.BlockEntityType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.blockpredicates.BlockPredicateType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProviderType<?>> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.Block>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.carver.WorldCarver<?>> static final KeyResolver.Static<net.minecraft.world.entity.animal.CatVariant> static final KeyResolver.Dynamic<net.minecraft.network.chat.ChatType> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.chunk.ChunkGenerator>> static final KeyResolver.Static<net.minecraft.world.level.chunk.status.ChunkStatus> static final KeyResolver.Static<net.minecraft.commands.synchronization.ArgumentTypeInfo<?, ?>> static final KeyResolver.Static<net.minecraft.world.item.CreativeModeTab> static final KeyResolver.Static<net.minecraft.resources.ResourceLocation> static final KeyResolver.Dynamic<net.minecraft.world.damagesource.DamageType> static final KeyResolver.Static<net.minecraft.core.component.DataComponentType<?>> static final KeyResolver.Static<net.minecraft.world.level.block.entity.DecoratedPotPattern> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.DensityFunction>> static final KeyResolver.Dynamic<net.minecraft.world.level.dimension.DimensionType> static final KeyResolver.Dynamic<net.minecraft.world.item.enchantment.Enchantment> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>> static final KeyResolver.Static<net.minecraft.world.entity.EntityType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.Feature<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.featuresize.FeatureSizeType<?>> static final KeyResolver.Static<net.minecraft.util.valueproviders.FloatProviderType<?>> static final KeyResolver.Static<net.minecraft.world.level.material.Fluid> static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?>> static final KeyResolver.Static<net.minecraft.world.entity.animal.FrogVariant> static final KeyResolver.Static<net.minecraft.world.level.gameevent.GameEvent> static final KeyResolver.Static<net.minecraft.world.level.levelgen.heightproviders.HeightProviderType<?>> static final KeyResolver.Static<net.minecraft.world.item.Instrument> static final KeyResolver.Static<net.minecraft.util.valueproviders.IntProviderType<?>> static final KeyResolver.Static<net.minecraft.world.item.Item> static final KeyResolver.Static<net.minecraft.advancements.critereon.ItemSubPredicate.Type<?>> static final KeyResolver.Static<net.minecraft.world.level.storage.loot.predicates.LootItemConditionType> static final KeyResolver.Static<net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<?>> static final KeyResolver.Static<net.minecraft.world.level.storage.loot.providers.nbt.LootNbtProviderType> static final KeyResolver.Static<net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType> static final KeyResolver.Static<net.minecraft.world.level.storage.loot.entries.LootPoolEntryType> static final KeyResolver.Static<net.minecraft.world.level.storage.loot.providers.score.LootScoreProviderType> static final KeyResolver.Static<net.minecraft.world.level.saveddata.maps.MapDecorationType> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.SurfaceRules.ConditionSource>> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.SurfaceRules.RuleSource>> static final KeyResolver.Static<net.minecraft.world.entity.ai.memory.MemoryModuleType<?>> static final KeyResolver.Static<net.minecraft.world.inventory.MenuType<?>> static final KeyResolver.Static<net.minecraft.world.effect.MobEffect> static final KeyResolver.Static<net.minecraft.network.chat.numbers.NumberFormatType<?>> static final KeyResolver.Dynamic<net.minecraft.world.entity.decoration.PaintingVariant> static final KeyResolver.Static<net.minecraft.core.particles.ParticleType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.placement.PlacementModifierType<?>> static final KeyResolver.Static<net.minecraft.world.entity.ai.village.poi.PoiType> static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.structure.pools.alias.PoolAliasBinding>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.PosRuleTestType<?>> static final KeyResolver.Static<net.minecraft.world.level.gameevent.PositionSourceType<?>> static final KeyResolver.Static<net.minecraft.world.item.alchemy.Potion> static final KeyResolver.Static<net.minecraft.world.item.crafting.RecipeSerializer<?>> static final KeyResolver.Static<net.minecraft.world.item.crafting.RecipeType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.rootplacers.RootPlacerType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity.RuleBlockEntityModifierType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.RuleTestType<?>> static final KeyResolver.Static<net.minecraft.world.entity.schedule.Schedule> static final KeyResolver.Static<net.minecraft.world.entity.ai.sensing.SensorType<?>> static final KeyResolver.Static<net.minecraft.sounds.SoundEvent> static final KeyResolver.Static<net.minecraft.stats.StatType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.pieces.StructurePieceType> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.placement.StructurePlacementType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.pools.StructurePoolElementType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.StructureType<?>> static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecoratorType<?>> static final KeyResolver.Static<net.minecraft.advancements.CriterionTrigger<?>> static final KeyResolver.Dynamic<net.minecraft.world.item.armortrim.TrimMaterial> static final KeyResolver.Dynamic<net.minecraft.world.item.armortrim.TrimPattern> static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacerType<?>> static final KeyResolver.Static<net.minecraft.world.entity.npc.VillagerProfession> static final KeyResolver.Static<net.minecraft.world.entity.npc.VillagerType> static final KeyResolver.Dynamic<net.minecraft.world.entity.animal.WolfVariant> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Iterable<Map.Entry<net.minecraft.resources.ResourceLocation, KeyResolver<?>>> static <T> @Nullable net.minecraft.resources.ResourceLocationgetId(KeyResolver<T> key) static <T> KeyResolver.RegistryResolver<T> getRegistryResolver(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> key) static <T> @Nullable KeyResolver<T> getResolver(net.minecraft.resources.ResourceLocation key) static <T> voidregister(net.minecraft.resources.ResourceLocation key, KeyResolver<T> resolver)
-
Field Details
-
ACTIVITY
-
ATTRIBUTE
public static final KeyResolver.Static<net.minecraft.world.entity.ai.attributes.Attribute> ATTRIBUTE -
BANNER_PATTERN
public static final KeyResolver.Dynamic<net.minecraft.world.level.block.entity.BannerPattern> BANNER_PATTERN -
BIOME_SOURCE
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.biome.BiomeSource>> BIOME_SOURCE -
BLOCK
-
BLOCK_TYPE
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.Block>> BLOCK_TYPE -
BLOCK_ENTITY_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.block.entity.BlockEntityType<?>> BLOCK_ENTITY_TYPE -
BLOCK_PREDICATE_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.blockpredicates.BlockPredicateType<?>> BLOCK_PREDICATE_TYPE -
BLOCK_STATE_PROVIDER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProviderType<?>> BLOCK_STATE_PROVIDER_TYPE -
CARVER
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.carver.WorldCarver<?>> CARVER -
CAT_VARIANT
-
WOLF_VARIANT
-
CHUNK_GENERATOR
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.chunk.ChunkGenerator>> CHUNK_GENERATOR -
CHUNK_STATUS
public static final KeyResolver.Static<net.minecraft.world.level.chunk.status.ChunkStatus> CHUNK_STATUS -
COMMAND_ARGUMENT_TYPE
public static final KeyResolver.Static<net.minecraft.commands.synchronization.ArgumentTypeInfo<?,?>> COMMAND_ARGUMENT_TYPE -
CREATIVE_MODE_TAB
-
CUSTOM_STAT
-
DAMAGE_TYPE
-
DENSITY_FUNCTION_TYPE
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.DensityFunction>> DENSITY_FUNCTION_TYPE -
ENCHANTMENT
public static final KeyResolver.Dynamic<net.minecraft.world.item.enchantment.Enchantment> ENCHANTMENT -
ENTITY_TYPE
-
FEATURE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.Feature<?>> FEATURE -
FEATURE_SIZE_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.featuresize.FeatureSizeType<?>> FEATURE_SIZE_TYPE -
FLOAT_PROVIDER_TYPE
public static final KeyResolver.Static<net.minecraft.util.valueproviders.FloatProviderType<?>> FLOAT_PROVIDER_TYPE -
FLUID
-
FOLIAGE_PLACER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacerType<?>> FOLIAGE_PLACER_TYPE -
FROG_VARIANT
-
GAME_EVENT
-
HEIGHT_PROVIDER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.heightproviders.HeightProviderType<?>> HEIGHT_PROVIDER_TYPE -
INSTRUMENT
-
INT_PROVIDER_TYPE
public static final KeyResolver.Static<net.minecraft.util.valueproviders.IntProviderType<?>> INT_PROVIDER_TYPE -
ITEM
-
LOOT_CONDITION_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.storage.loot.predicates.LootItemConditionType> LOOT_CONDITION_TYPE -
LOOT_FUNCTION_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<?>> LOOT_FUNCTION_TYPE -
LOOT_NBT_PROVIDER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.storage.loot.providers.nbt.LootNbtProviderType> LOOT_NBT_PROVIDER_TYPE -
LOOT_NUMBER_PROVIDER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType> LOOT_NUMBER_PROVIDER_TYPE -
LOOT_POOL_ENTRY_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.storage.loot.entries.LootPoolEntryType> LOOT_POOL_ENTRY_TYPE -
LOOT_SCORE_PROVIDER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.storage.loot.providers.score.LootScoreProviderType> LOOT_SCORE_PROVIDER_TYPE -
MATERIAL_CONDITION
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.SurfaceRules.ConditionSource>> MATERIAL_CONDITION -
MATERIAL_RULE
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.SurfaceRules.RuleSource>> MATERIAL_RULE -
MEMORY_MODULE_TYPE
public static final KeyResolver.Static<net.minecraft.world.entity.ai.memory.MemoryModuleType<?>> MEMORY_MODULE_TYPE -
MENU
-
MOB_EFFECT
-
PAINTING_VARIANT
public static final KeyResolver.Dynamic<net.minecraft.world.entity.decoration.PaintingVariant> PAINTING_VARIANT -
PARTICLE_TYPE
-
PLACEMENT_MODIFIER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.placement.PlacementModifierType<?>> PLACEMENT_MODIFIER_TYPE -
POINT_OF_INTEREST_TYPE
public static final KeyResolver.Static<net.minecraft.world.entity.ai.village.poi.PoiType> POINT_OF_INTEREST_TYPE -
POSITION_SOURCE_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.gameevent.PositionSourceType<?>> POSITION_SOURCE_TYPE -
POS_RULE_TEST
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.PosRuleTestType<?>> POS_RULE_TEST -
POTION
-
RECIPE_SERIALIZER
public static final KeyResolver.Static<net.minecraft.world.item.crafting.RecipeSerializer<?>> RECIPE_SERIALIZER -
RECIPE_TYPE
-
ROOT_PLACER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.rootplacers.RootPlacerType<?>> ROOT_PLACER_TYPE -
RULE_TEST
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.RuleTestType<?>> RULE_TEST -
RULE_BLOCK_ENTITY_MODIFIER
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity.RuleBlockEntityModifierType<?>> RULE_BLOCK_ENTITY_MODIFIER -
SCHEDULE
-
SENSOR_TYPE
public static final KeyResolver.Static<net.minecraft.world.entity.ai.sensing.SensorType<?>> SENSOR_TYPE -
SOUND_EVENT
-
STAT_TYPE
-
STRUCTURE_PIECE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.pieces.StructurePieceType> STRUCTURE_PIECE -
STRUCTURE_PLACEMENT
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.placement.StructurePlacementType<?>> STRUCTURE_PLACEMENT -
STRUCTURE_POOL_ELEMENT
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.pools.StructurePoolElementType<?>> STRUCTURE_POOL_ELEMENT -
POOL_ALIAS_BINDING
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.structure.pools.alias.PoolAliasBinding>> POOL_ALIAS_BINDING -
STRUCTURE_PROCESSOR
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType<?>> STRUCTURE_PROCESSOR -
STRUCTURE_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.structure.StructureType<?>> STRUCTURE_TYPE -
TREE_DECORATOR_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecoratorType<?>> TREE_DECORATOR_TYPE -
TRUNK_PLACER_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacerType<?>> TRUNK_PLACER_TYPE -
VILLAGER_PROFESSION
public static final KeyResolver.Static<net.minecraft.world.entity.npc.VillagerProfession> VILLAGER_PROFESSION -
VILLAGER_TYPE
-
DECORATED_POT_PATTERNS
public static final KeyResolver.Static<net.minecraft.world.level.block.entity.DecoratedPotPattern> DECORATED_POT_PATTERNS -
NUMBER_FORMAT_TYPE
public static final KeyResolver.Static<net.minecraft.network.chat.numbers.NumberFormatType<?>> NUMBER_FORMAT_TYPE -
ARMOR_MATERIAL
-
DATA_COMPONENT_TYPE
public static final KeyResolver.Static<net.minecraft.core.component.DataComponentType<?>> DATA_COMPONENT_TYPE -
ENTITY_SUB_PREDICATE_TYPE
public static final KeyResolver.Static<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>> ENTITY_SUB_PREDICATE_TYPE -
ITEM_SUB_PREDICATE_TYPE
public static final KeyResolver.Static<net.minecraft.advancements.critereon.ItemSubPredicate.Type<?>> ITEM_SUB_PREDICATE_TYPE -
MAP_DECORATION_TYPE
public static final KeyResolver.Static<net.minecraft.world.level.saveddata.maps.MapDecorationType> MAP_DECORATION_TYPE -
BIOME
-
CHAT_TYPE
-
DIMENSION_TYPE
public static final KeyResolver.Dynamic<net.minecraft.world.level.dimension.DimensionType> DIMENSION_TYPE -
TRIGGER_TYPE
-
TRIM_MATERIAL
public static final KeyResolver.Dynamic<net.minecraft.world.item.armortrim.TrimMaterial> TRIM_MATERIAL -
TRIM_PATTERN
public static final KeyResolver.Dynamic<net.minecraft.world.item.armortrim.TrimPattern> TRIM_PATTERN
-
-
Constructor Details
-
KeyResolvers
public KeyResolvers()
-
-
Method Details
-
register
@Internal public static <T> void register(net.minecraft.resources.ResourceLocation key, KeyResolver<T> resolver) -
getEntries
@Internal public static Iterable<Map.Entry<net.minecraft.resources.ResourceLocation,KeyResolver<?>>> getEntries() -
getResolver
@Nullable public static <T> @Nullable KeyResolver<T> getResolver(net.minecraft.resources.ResourceLocation key) -
getRegistryResolver
@Nullable public static <T> KeyResolver.RegistryResolver<T> getRegistryResolver(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> key) -
getId
@Nullable public static <T> @Nullable net.minecraft.resources.ResourceLocation getId(KeyResolver<T> key)
-