Class Registry<T>

java.lang.Object
net.minecraft.util.registry.Registry<T>
All Implemented Interfaces:
com.mojang.serialization.Codec<T>, com.mojang.serialization.Decoder<T>, com.mojang.serialization.Encoder<T>, com.mojang.serialization.Keyable, Iterable<T>, IndexedIterable<T>
Direct Known Subclasses:
MutableRegistry

public abstract class Registry<T>
extends Object
implements com.mojang.serialization.Codec<T>, com.mojang.serialization.Keyable, IndexedIterable<T>
Mappings:
Namespace Name
official gn
intermediary net/minecraft/class_2378
named net/minecraft/util/registry/Registry
  • Field Details

    • LOGGER

      protected static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Lgn;c:Lorg/apache/logging/log4j/Logger;
      intermediary field_11139 Lnet/minecraft/class_2378;field_11139:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/util/registry/Registry;LOGGER:Lorg/apache/logging/log4j/Logger;
    • DEFAULT_ENTRIES

      private static final Map<Identifier,​Supplier<?>> DEFAULT_ENTRIES
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a:Ljava/util/Map;
      intermediary field_11140 Lnet/minecraft/class_2378;field_11140:Ljava/util/Map;
      named DEFAULT_ENTRIES Lnet/minecraft/util/registry/Registry;DEFAULT_ENTRIES:Ljava/util/Map;
    • ROOT_KEY

      public static final Identifier ROOT_KEY
      Mappings:
      Namespace Name Mixin selector
      official d Lgn;d:Lwb;
      intermediary field_25100 Lnet/minecraft/class_2378;field_25100:Lnet/minecraft/class_2960;
      named ROOT_KEY Lnet/minecraft/util/registry/Registry;ROOT_KEY:Lnet/minecraft/util/Identifier;
    • ROOT

      protected static final MutableRegistry<MutableRegistry<?>> ROOT
      Mappings:
      Namespace Name Mixin selector
      official e Lgn;e:Lgt;
      intermediary field_25101 Lnet/minecraft/class_2378;field_25101:Lnet/minecraft/class_2385;
      named ROOT Lnet/minecraft/util/registry/Registry;ROOT:Lnet/minecraft/util/registry/MutableRegistry;
    • REGISTRIES

      public static final Registry<? extends Registry<?>> REGISTRIES
      Mappings:
      Namespace Name Mixin selector
      official f Lgn;f:Lgn;
      intermediary field_11144 Lnet/minecraft/class_2378;field_11144:Lnet/minecraft/class_2378;
      named REGISTRIES Lnet/minecraft/util/registry/Registry;REGISTRIES:Lnet/minecraft/util/registry/Registry;
    • SOUND_EVENT_KEY

      public static final RegistryKey<Registry<SoundEvent>> SOUND_EVENT_KEY
      Mappings:
      Namespace Name Mixin selector
      official g Lgn;g:Lwa;
      intermediary field_25102 Lnet/minecraft/class_2378;field_25102:Lnet/minecraft/class_5321;
      named SOUND_EVENT_KEY Lnet/minecraft/util/registry/Registry;SOUND_EVENT_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • FLUID_KEY

      public static final RegistryKey<Registry<Fluid>> FLUID_KEY
      Mappings:
      Namespace Name Mixin selector
      official h Lgn;h:Lwa;
      intermediary field_25103 Lnet/minecraft/class_2378;field_25103:Lnet/minecraft/class_5321;
      named FLUID_KEY Lnet/minecraft/util/registry/Registry;FLUID_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • MOB_EFFECT_KEY

      public static final RegistryKey<Registry<StatusEffect>> MOB_EFFECT_KEY
      Mappings:
      Namespace Name Mixin selector
      official i Lgn;i:Lwa;
      intermediary field_25104 Lnet/minecraft/class_2378;field_25104:Lnet/minecraft/class_5321;
      named MOB_EFFECT_KEY Lnet/minecraft/util/registry/Registry;MOB_EFFECT_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • BLOCK_KEY

      public static final RegistryKey<Registry<Block>> BLOCK_KEY
      Mappings:
      Namespace Name Mixin selector
      official j Lgn;j:Lwa;
      intermediary field_25105 Lnet/minecraft/class_2378;field_25105:Lnet/minecraft/class_5321;
      named BLOCK_KEY Lnet/minecraft/util/registry/Registry;BLOCK_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • ENCHANTMENT_KEY

      public static final RegistryKey<Registry<Enchantment>> ENCHANTMENT_KEY
      Mappings:
      Namespace Name Mixin selector
      official k Lgn;k:Lwa;
      intermediary field_25106 Lnet/minecraft/class_2378;field_25106:Lnet/minecraft/class_5321;
      named ENCHANTMENT_KEY Lnet/minecraft/util/registry/Registry;ENCHANTMENT_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • ENTITY_TYPE_KEY

      public static final RegistryKey<Registry<EntityType<?>>> ENTITY_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official l Lgn;l:Lwa;
      intermediary field_25107 Lnet/minecraft/class_2378;field_25107:Lnet/minecraft/class_5321;
      named ENTITY_TYPE_KEY Lnet/minecraft/util/registry/Registry;ENTITY_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • ITEM_KEY

      public static final RegistryKey<Registry<Item>> ITEM_KEY
      Mappings:
      Namespace Name Mixin selector
      official m Lgn;m:Lwa;
      intermediary field_25108 Lnet/minecraft/class_2378;field_25108:Lnet/minecraft/class_5321;
      named ITEM_KEY Lnet/minecraft/util/registry/Registry;ITEM_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • POTION_KEY

      public static final RegistryKey<Registry<Potion>> POTION_KEY
      Mappings:
      Namespace Name Mixin selector
      official n Lgn;n:Lwa;
      intermediary field_25109 Lnet/minecraft/class_2378;field_25109:Lnet/minecraft/class_5321;
      named POTION_KEY Lnet/minecraft/util/registry/Registry;POTION_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • PARTICLE_TYPE_KEY

      public static final RegistryKey<Registry<ParticleType<?>>> PARTICLE_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official o Lgn;o:Lwa;
      intermediary field_25070 Lnet/minecraft/class_2378;field_25070:Lnet/minecraft/class_5321;
      named PARTICLE_TYPE_KEY Lnet/minecraft/util/registry/Registry;PARTICLE_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • BLOCK_ENTITY_TYPE_KEY

      public static final RegistryKey<Registry<BlockEntityType<?>>> BLOCK_ENTITY_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official p Lgn;p:Lwa;
      intermediary field_25073 Lnet/minecraft/class_2378;field_25073:Lnet/minecraft/class_5321;
      named BLOCK_ENTITY_TYPE_KEY Lnet/minecraft/util/registry/Registry;BLOCK_ENTITY_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • MOTIVE_KEY

      public static final RegistryKey<Registry<PaintingMotive>> MOTIVE_KEY
      Mappings:
      Namespace Name Mixin selector
      official q Lgn;q:Lwa;
      intermediary field_25074 Lnet/minecraft/class_2378;field_25074:Lnet/minecraft/class_5321;
      named MOTIVE_KEY Lnet/minecraft/util/registry/Registry;MOTIVE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • CUSTOM_STAT_KEY

      public static final RegistryKey<Registry<Identifier>> CUSTOM_STAT_KEY
      Mappings:
      Namespace Name Mixin selector
      official r Lgn;r:Lwa;
      intermediary field_25075 Lnet/minecraft/class_2378;field_25075:Lnet/minecraft/class_5321;
      named CUSTOM_STAT_KEY Lnet/minecraft/util/registry/Registry;CUSTOM_STAT_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • CHUNK_STATUS_KEY

      public static final RegistryKey<Registry<ChunkStatus>> CHUNK_STATUS_KEY
      Mappings:
      Namespace Name Mixin selector
      official s Lgn;s:Lwa;
      intermediary field_25076 Lnet/minecraft/class_2378;field_25076:Lnet/minecraft/class_5321;
      named CHUNK_STATUS_KEY Lnet/minecraft/util/registry/Registry;CHUNK_STATUS_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • RULE_TEST_KEY

      public static final RegistryKey<Registry<RuleTestType<?>>> RULE_TEST_KEY
      Mappings:
      Namespace Name Mixin selector
      official t Lgn;t:Lwa;
      intermediary field_25079 Lnet/minecraft/class_2378;field_25079:Lnet/minecraft/class_5321;
      named RULE_TEST_KEY Lnet/minecraft/util/registry/Registry;RULE_TEST_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • POS_RULE_TEST_KEY

      public static final RegistryKey<Registry<PosRuleTestType<?>>> POS_RULE_TEST_KEY
      Mappings:
      Namespace Name Mixin selector
      official u Lgn;u:Lwa;
      intermediary field_25080 Lnet/minecraft/class_2378;field_25080:Lnet/minecraft/class_5321;
      named POS_RULE_TEST_KEY Lnet/minecraft/util/registry/Registry;POS_RULE_TEST_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • RECIPE_TYPE_KEY

      public static final RegistryKey<Registry<RecipeType<?>>> RECIPE_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official w Lgn;w:Lwa;
      intermediary field_25084 Lnet/minecraft/class_2378;field_25084:Lnet/minecraft/class_5321;
      named RECIPE_TYPE_KEY Lnet/minecraft/util/registry/Registry;RECIPE_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • RECIPE_SERIALIZER_KEY

      public static final RegistryKey<Registry<RecipeSerializer<?>>> RECIPE_SERIALIZER_KEY
      Mappings:
      Namespace Name Mixin selector
      official x Lgn;x:Lwa;
      intermediary field_25085 Lnet/minecraft/class_2378;field_25085:Lnet/minecraft/class_5321;
      named RECIPE_SERIALIZER_KEY Lnet/minecraft/util/registry/Registry;RECIPE_SERIALIZER_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • ATTRIBUTE_KEY

      public static final RegistryKey<Registry<EntityAttribute>> ATTRIBUTE_KEY
      Mappings:
      Namespace Name Mixin selector
      official y Lgn;y:Lwa;
      intermediary field_25086 Lnet/minecraft/class_2378;field_25086:Lnet/minecraft/class_5321;
      named ATTRIBUTE_KEY Lnet/minecraft/util/registry/Registry;ATTRIBUTE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • GAME_EVENT_KEY

      public static final RegistryKey<Registry<GameEvent>> GAME_EVENT_KEY
      Mappings:
      Namespace Name Mixin selector
      official z Lgn;z:Lwa;
      intermediary field_28266 Lnet/minecraft/class_2378;field_28266:Lnet/minecraft/class_5321;
      named GAME_EVENT_KEY Lnet/minecraft/util/registry/Registry;GAME_EVENT_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • POSITION_SOURCE_TYPE_KEY

      public static final RegistryKey<Registry<PositionSourceType<?>>> POSITION_SOURCE_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official A Lgn;A:Lwa;
      intermediary field_28263 Lnet/minecraft/class_2378;field_28263:Lnet/minecraft/class_5321;
      named POSITION_SOURCE_TYPE_KEY Lnet/minecraft/util/registry/Registry;POSITION_SOURCE_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • STAT_TYPE_KEY

      public static final RegistryKey<Registry<StatType<?>>> STAT_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official B Lgn;B:Lwa;
      intermediary field_25087 Lnet/minecraft/class_2378;field_25087:Lnet/minecraft/class_5321;
      named STAT_TYPE_KEY Lnet/minecraft/util/registry/Registry;STAT_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • VILLAGER_TYPE_KEY

      public static final RegistryKey<Registry<VillagerType>> VILLAGER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official C Lgn;C:Lwa;
      intermediary field_25088 Lnet/minecraft/class_2378;field_25088:Lnet/minecraft/class_5321;
      named VILLAGER_TYPE_KEY Lnet/minecraft/util/registry/Registry;VILLAGER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • VILLAGER_PROFESSION_KEY

      public static final RegistryKey<Registry<VillagerProfession>> VILLAGER_PROFESSION_KEY
      Mappings:
      Namespace Name Mixin selector
      official D Lgn;D:Lwa;
      intermediary field_25089 Lnet/minecraft/class_2378;field_25089:Lnet/minecraft/class_5321;
      named VILLAGER_PROFESSION_KEY Lnet/minecraft/util/registry/Registry;VILLAGER_PROFESSION_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • POINT_OF_INTEREST_TYPE_KEY

      public static final RegistryKey<Registry<PointOfInterestType>> POINT_OF_INTEREST_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official E Lgn;E:Lwa;
      intermediary field_25090 Lnet/minecraft/class_2378;field_25090:Lnet/minecraft/class_5321;
      named POINT_OF_INTEREST_TYPE_KEY Lnet/minecraft/util/registry/Registry;POINT_OF_INTEREST_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • MEMORY_MODULE_TYPE_KEY

      public static final RegistryKey<Registry<MemoryModuleType<?>>> MEMORY_MODULE_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official F Lgn;F:Lwa;
      intermediary field_25091 Lnet/minecraft/class_2378;field_25091:Lnet/minecraft/class_5321;
      named MEMORY_MODULE_TYPE_KEY Lnet/minecraft/util/registry/Registry;MEMORY_MODULE_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • SENSOR_TYPE_KEY

      public static final RegistryKey<Registry<SensorType<?>>> SENSOR_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official G Lgn;G:Lwa;
      intermediary field_25092 Lnet/minecraft/class_2378;field_25092:Lnet/minecraft/class_5321;
      named SENSOR_TYPE_KEY Lnet/minecraft/util/registry/Registry;SENSOR_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • SCHEDULE_KEY

      public static final RegistryKey<Registry<Schedule>> SCHEDULE_KEY
      Mappings:
      Namespace Name Mixin selector
      official H Lgn;H:Lwa;
      intermediary field_25093 Lnet/minecraft/class_2378;field_25093:Lnet/minecraft/class_5321;
      named SCHEDULE_KEY Lnet/minecraft/util/registry/Registry;SCHEDULE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • ACTIVITY_KEY

      public static final RegistryKey<Registry<Activity>> ACTIVITY_KEY
      Mappings:
      Namespace Name Mixin selector
      official I Lgn;I:Lwa;
      intermediary field_25094 Lnet/minecraft/class_2378;field_25094:Lnet/minecraft/class_5321;
      named ACTIVITY_KEY Lnet/minecraft/util/registry/Registry;ACTIVITY_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • LOOT_POOL_ENTRY_TYPE_KEY

      public static final RegistryKey<Registry<LootPoolEntryType>> LOOT_POOL_ENTRY_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official J Lgn;J:Lwa;
      intermediary field_25295 Lnet/minecraft/class_2378;field_25295:Lnet/minecraft/class_5321;
      named LOOT_POOL_ENTRY_TYPE_KEY Lnet/minecraft/util/registry/Registry;LOOT_POOL_ENTRY_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • LOOT_FUNCTION_TYPE_KEY

      public static final RegistryKey<Registry<LootFunctionType>> LOOT_FUNCTION_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official K Lgn;K:Lwa;
      intermediary field_25296 Lnet/minecraft/class_2378;field_25296:Lnet/minecraft/class_5321;
      named LOOT_FUNCTION_TYPE_KEY Lnet/minecraft/util/registry/Registry;LOOT_FUNCTION_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • LOOT_CONDITION_TYPE_KEY

      public static final RegistryKey<Registry<LootConditionType>> LOOT_CONDITION_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official L Lgn;L:Lwa;
      intermediary field_25297 Lnet/minecraft/class_2378;field_25297:Lnet/minecraft/class_5321;
      named LOOT_CONDITION_TYPE_KEY Lnet/minecraft/util/registry/Registry;LOOT_CONDITION_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • LOOT_NUMBER_PROVIDER_TYPE_KEY

      public static final RegistryKey<Registry<LootNumberProviderType>> LOOT_NUMBER_PROVIDER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official M Lgn;M:Lwa;
      intermediary field_28005 Lnet/minecraft/class_2378;field_28005:Lnet/minecraft/class_5321;
      named LOOT_NUMBER_PROVIDER_TYPE_KEY Lnet/minecraft/util/registry/Registry;LOOT_NUMBER_PROVIDER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • LOOT_NBT_PROVIDER_TYPE_KEY

      public static final RegistryKey<Registry<LootNbtProviderType>> LOOT_NBT_PROVIDER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official N Lgn;N:Lwa;
      intermediary field_28006 Lnet/minecraft/class_2378;field_28006:Lnet/minecraft/class_5321;
      named LOOT_NBT_PROVIDER_TYPE_KEY Lnet/minecraft/util/registry/Registry;LOOT_NBT_PROVIDER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • LOOT_SCORE_PROVIDER_TYPE_KEY

      public static final RegistryKey<Registry<LootScoreProviderType>> LOOT_SCORE_PROVIDER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official O Lgn;O:Lwa;
      intermediary field_28007 Lnet/minecraft/class_2378;field_28007:Lnet/minecraft/class_5321;
      named LOOT_SCORE_PROVIDER_TYPE_KEY Lnet/minecraft/util/registry/Registry;LOOT_SCORE_PROVIDER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • DIMENSION_TYPE_KEY

      public static final RegistryKey<Registry<DimensionType>> DIMENSION_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official P Lgn;P:Lwa;
      intermediary field_25095 Lnet/minecraft/class_2378;field_25095:Lnet/minecraft/class_5321;
      named DIMENSION_TYPE_KEY Lnet/minecraft/util/registry/Registry;DIMENSION_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • DIMENSION

      public static final RegistryKey<Registry<World>> DIMENSION
      Mappings:
      Namespace Name Mixin selector
      official Q Lgn;Q:Lwa;
      intermediary field_25298 Lnet/minecraft/class_2378;field_25298:Lnet/minecraft/class_5321;
      named DIMENSION Lnet/minecraft/util/registry/Registry;DIMENSION:Lnet/minecraft/util/registry/RegistryKey;
    • DIMENSION_OPTIONS

      public static final RegistryKey<Registry<DimensionOptions>> DIMENSION_OPTIONS
      Mappings:
      Namespace Name Mixin selector
      official R Lgn;R:Lwa;
      intermediary field_25490 Lnet/minecraft/class_2378;field_25490:Lnet/minecraft/class_5321;
      named DIMENSION_OPTIONS Lnet/minecraft/util/registry/Registry;DIMENSION_OPTIONS:Lnet/minecraft/util/registry/RegistryKey;
    • GAME_EVENT

      public static final DefaultedRegistry<GameEvent> GAME_EVENT
      Mappings:
      Namespace Name Mixin selector
      official S Lgn;S:Lgb;
      intermediary field_28264 Lnet/minecraft/class_2378;field_28264:Lnet/minecraft/class_2348;
      named GAME_EVENT Lnet/minecraft/util/registry/Registry;GAME_EVENT:Lnet/minecraft/util/registry/DefaultedRegistry;
    • SOUND_EVENT

      public static final Registry<SoundEvent> SOUND_EVENT
      Mappings:
      Namespace Name Mixin selector
      official T Lgn;T:Lgn;
      intermediary field_11156 Lnet/minecraft/class_2378;field_11156:Lnet/minecraft/class_2378;
      named SOUND_EVENT Lnet/minecraft/util/registry/Registry;SOUND_EVENT:Lnet/minecraft/util/registry/Registry;
    • FLUID

      public static final DefaultedRegistry<Fluid> FLUID
      Mappings:
      Namespace Name Mixin selector
      official U Lgn;U:Lgb;
      intermediary field_11154 Lnet/minecraft/class_2378;field_11154:Lnet/minecraft/class_2348;
      named FLUID Lnet/minecraft/util/registry/Registry;FLUID:Lnet/minecraft/util/registry/DefaultedRegistry;
    • STATUS_EFFECT

      public static final Registry<StatusEffect> STATUS_EFFECT
      Mappings:
      Namespace Name Mixin selector
      official V Lgn;V:Lgn;
      intermediary field_11159 Lnet/minecraft/class_2378;field_11159:Lnet/minecraft/class_2378;
      named STATUS_EFFECT Lnet/minecraft/util/registry/Registry;STATUS_EFFECT:Lnet/minecraft/util/registry/Registry;
    • BLOCK

      public static final DefaultedRegistry<Block> BLOCK
      Mappings:
      Namespace Name Mixin selector
      official W Lgn;W:Lgb;
      intermediary field_11146 Lnet/minecraft/class_2378;field_11146:Lnet/minecraft/class_2348;
      named BLOCK Lnet/minecraft/util/registry/Registry;BLOCK:Lnet/minecraft/util/registry/DefaultedRegistry;
    • ENCHANTMENT

      public static final Registry<Enchantment> ENCHANTMENT
      Mappings:
      Namespace Name Mixin selector
      official X Lgn;X:Lgn;
      intermediary field_11160 Lnet/minecraft/class_2378;field_11160:Lnet/minecraft/class_2378;
      named ENCHANTMENT Lnet/minecraft/util/registry/Registry;ENCHANTMENT:Lnet/minecraft/util/registry/Registry;
    • ENTITY_TYPE

      public static final DefaultedRegistry<EntityType<?>> ENTITY_TYPE
      Mappings:
      Namespace Name Mixin selector
      official Y Lgn;Y:Lgb;
      intermediary field_11145 Lnet/minecraft/class_2378;field_11145:Lnet/minecraft/class_2348;
      named ENTITY_TYPE Lnet/minecraft/util/registry/Registry;ENTITY_TYPE:Lnet/minecraft/util/registry/DefaultedRegistry;
    • ITEM

      public static final DefaultedRegistry<Item> ITEM
      Mappings:
      Namespace Name Mixin selector
      official Z Lgn;Z:Lgb;
      intermediary field_11142 Lnet/minecraft/class_2378;field_11142:Lnet/minecraft/class_2348;
      named ITEM Lnet/minecraft/util/registry/Registry;ITEM:Lnet/minecraft/util/registry/DefaultedRegistry;
    • POTION

      public static final DefaultedRegistry<Potion> POTION
      Mappings:
      Namespace Name Mixin selector
      official aa Lgn;aa:Lgb;
      intermediary field_11143 Lnet/minecraft/class_2378;field_11143:Lnet/minecraft/class_2348;
      named POTION Lnet/minecraft/util/registry/Registry;POTION:Lnet/minecraft/util/registry/DefaultedRegistry;
    • PARTICLE_TYPE

      public static final Registry<ParticleType<?>> PARTICLE_TYPE
      Mappings:
      Namespace Name Mixin selector
      official ab Lgn;ab:Lgn;
      intermediary field_11141 Lnet/minecraft/class_2378;field_11141:Lnet/minecraft/class_2378;
      named PARTICLE_TYPE Lnet/minecraft/util/registry/Registry;PARTICLE_TYPE:Lnet/minecraft/util/registry/Registry;
    • BLOCK_ENTITY_TYPE

      public static final Registry<BlockEntityType<?>> BLOCK_ENTITY_TYPE
      Mappings:
      Namespace Name Mixin selector
      official ac Lgn;ac:Lgn;
      intermediary field_11137 Lnet/minecraft/class_2378;field_11137:Lnet/minecraft/class_2378;
      named BLOCK_ENTITY_TYPE Lnet/minecraft/util/registry/Registry;BLOCK_ENTITY_TYPE:Lnet/minecraft/util/registry/Registry;
    • PAINTING_MOTIVE

      public static final DefaultedRegistry<PaintingMotive> PAINTING_MOTIVE
      Mappings:
      Namespace Name Mixin selector
      official ad Lgn;ad:Lgb;
      intermediary field_11150 Lnet/minecraft/class_2378;field_11150:Lnet/minecraft/class_2348;
      named PAINTING_MOTIVE Lnet/minecraft/util/registry/Registry;PAINTING_MOTIVE:Lnet/minecraft/util/registry/DefaultedRegistry;
    • CUSTOM_STAT

      public static final Registry<Identifier> CUSTOM_STAT
      Mappings:
      Namespace Name Mixin selector
      official ae Lgn;ae:Lgn;
      intermediary field_11158 Lnet/minecraft/class_2378;field_11158:Lnet/minecraft/class_2378;
      named CUSTOM_STAT Lnet/minecraft/util/registry/Registry;CUSTOM_STAT:Lnet/minecraft/util/registry/Registry;
    • CHUNK_STATUS

      public static final DefaultedRegistry<ChunkStatus> CHUNK_STATUS
      Mappings:
      Namespace Name Mixin selector
      official af Lgn;af:Lgb;
      intermediary field_16643 Lnet/minecraft/class_2378;field_16643:Lnet/minecraft/class_2348;
      named CHUNK_STATUS Lnet/minecraft/util/registry/Registry;CHUNK_STATUS:Lnet/minecraft/util/registry/DefaultedRegistry;
    • RULE_TEST

      public static final Registry<RuleTestType<?>> RULE_TEST
      Mappings:
      Namespace Name Mixin selector
      official ag Lgn;ag:Lgn;
      intermediary field_16792 Lnet/minecraft/class_2378;field_16792:Lnet/minecraft/class_2378;
      named RULE_TEST Lnet/minecraft/util/registry/Registry;RULE_TEST:Lnet/minecraft/util/registry/Registry;
    • POS_RULE_TEST

      public static final Registry<PosRuleTestType<?>> POS_RULE_TEST
      Mappings:
      Namespace Name Mixin selector
      official ah Lgn;ah:Lgn;
      intermediary field_23398 Lnet/minecraft/class_2378;field_23398:Lnet/minecraft/class_2378;
      named POS_RULE_TEST Lnet/minecraft/util/registry/Registry;POS_RULE_TEST:Lnet/minecraft/util/registry/Registry;
    • SCREEN_HANDLER

      public static final Registry<ScreenHandlerType<?>> SCREEN_HANDLER
      Mappings:
      Namespace Name Mixin selector
      official ai Lgn;ai:Lgn;
      intermediary field_17429 Lnet/minecraft/class_2378;field_17429:Lnet/minecraft/class_2378;
      named SCREEN_HANDLER Lnet/minecraft/util/registry/Registry;SCREEN_HANDLER:Lnet/minecraft/util/registry/Registry;
    • RECIPE_TYPE

      public static final Registry<RecipeType<?>> RECIPE_TYPE
      Mappings:
      Namespace Name Mixin selector
      official aj Lgn;aj:Lgn;
      intermediary field_17597 Lnet/minecraft/class_2378;field_17597:Lnet/minecraft/class_2378;
      named RECIPE_TYPE Lnet/minecraft/util/registry/Registry;RECIPE_TYPE:Lnet/minecraft/util/registry/Registry;
    • RECIPE_SERIALIZER

      public static final Registry<RecipeSerializer<?>> RECIPE_SERIALIZER
      Mappings:
      Namespace Name Mixin selector
      official ak Lgn;ak:Lgn;
      intermediary field_17598 Lnet/minecraft/class_2378;field_17598:Lnet/minecraft/class_2378;
      named RECIPE_SERIALIZER Lnet/minecraft/util/registry/Registry;RECIPE_SERIALIZER:Lnet/minecraft/util/registry/Registry;
    • ATTRIBUTE

      public static final Registry<EntityAttribute> ATTRIBUTE
      Mappings:
      Namespace Name Mixin selector
      official al Lgn;al:Lgn;
      intermediary field_23781 Lnet/minecraft/class_2378;field_23781:Lnet/minecraft/class_2378;
      named ATTRIBUTE Lnet/minecraft/util/registry/Registry;ATTRIBUTE:Lnet/minecraft/util/registry/Registry;
    • POSITION_SOURCE_TYPE

      public static final Registry<PositionSourceType<?>> POSITION_SOURCE_TYPE
      Mappings:
      Namespace Name Mixin selector
      official am Lgn;am:Lgn;
      intermediary field_28265 Lnet/minecraft/class_2378;field_28265:Lnet/minecraft/class_2378;
      named POSITION_SOURCE_TYPE Lnet/minecraft/util/registry/Registry;POSITION_SOURCE_TYPE:Lnet/minecraft/util/registry/Registry;
    • STAT_TYPE

      public static final Registry<StatType<?>> STAT_TYPE
      Mappings:
      Namespace Name Mixin selector
      official an Lgn;an:Lgn;
      intermediary field_11152 Lnet/minecraft/class_2378;field_11152:Lnet/minecraft/class_2378;
      named STAT_TYPE Lnet/minecraft/util/registry/Registry;STAT_TYPE:Lnet/minecraft/util/registry/Registry;
    • VILLAGER_TYPE

      public static final DefaultedRegistry<VillagerType> VILLAGER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official ao Lgn;ao:Lgb;
      intermediary field_17166 Lnet/minecraft/class_2378;field_17166:Lnet/minecraft/class_2348;
      named VILLAGER_TYPE Lnet/minecraft/util/registry/Registry;VILLAGER_TYPE:Lnet/minecraft/util/registry/DefaultedRegistry;
    • VILLAGER_PROFESSION

      public static final DefaultedRegistry<VillagerProfession> VILLAGER_PROFESSION
      Mappings:
      Namespace Name Mixin selector
      official ap Lgn;ap:Lgb;
      intermediary field_17167 Lnet/minecraft/class_2378;field_17167:Lnet/minecraft/class_2348;
      named VILLAGER_PROFESSION Lnet/minecraft/util/registry/Registry;VILLAGER_PROFESSION:Lnet/minecraft/util/registry/DefaultedRegistry;
    • POINT_OF_INTEREST_TYPE

      public static final DefaultedRegistry<PointOfInterestType> POINT_OF_INTEREST_TYPE
      Mappings:
      Namespace Name Mixin selector
      official aq Lgn;aq:Lgb;
      intermediary field_18792 Lnet/minecraft/class_2378;field_18792:Lnet/minecraft/class_2348;
      named POINT_OF_INTEREST_TYPE Lnet/minecraft/util/registry/Registry;POINT_OF_INTEREST_TYPE:Lnet/minecraft/util/registry/DefaultedRegistry;
    • MEMORY_MODULE_TYPE

      public static final DefaultedRegistry<MemoryModuleType<?>> MEMORY_MODULE_TYPE
      Mappings:
      Namespace Name Mixin selector
      official ar Lgn;ar:Lgb;
      intermediary field_18793 Lnet/minecraft/class_2378;field_18793:Lnet/minecraft/class_2348;
      named MEMORY_MODULE_TYPE Lnet/minecraft/util/registry/Registry;MEMORY_MODULE_TYPE:Lnet/minecraft/util/registry/DefaultedRegistry;
    • SENSOR_TYPE

      public static final DefaultedRegistry<SensorType<?>> SENSOR_TYPE
      Mappings:
      Namespace Name Mixin selector
      official as Lgn;as:Lgb;
      intermediary field_18794 Lnet/minecraft/class_2378;field_18794:Lnet/minecraft/class_2348;
      named SENSOR_TYPE Lnet/minecraft/util/registry/Registry;SENSOR_TYPE:Lnet/minecraft/util/registry/DefaultedRegistry;
    • SCHEDULE

      public static final Registry<Schedule> SCHEDULE
      Mappings:
      Namespace Name Mixin selector
      official at Lgn;at:Lgn;
      intermediary field_18795 Lnet/minecraft/class_2378;field_18795:Lnet/minecraft/class_2378;
      named SCHEDULE Lnet/minecraft/util/registry/Registry;SCHEDULE:Lnet/minecraft/util/registry/Registry;
    • ACTIVITY

      public static final Registry<Activity> ACTIVITY
      Mappings:
      Namespace Name Mixin selector
      official au Lgn;au:Lgn;
      intermediary field_18796 Lnet/minecraft/class_2378;field_18796:Lnet/minecraft/class_2378;
      named ACTIVITY Lnet/minecraft/util/registry/Registry;ACTIVITY:Lnet/minecraft/util/registry/Registry;
    • LOOT_POOL_ENTRY_TYPE

      public static final Registry<LootPoolEntryType> LOOT_POOL_ENTRY_TYPE
      Mappings:
      Namespace Name Mixin selector
      official av Lgn;av:Lgn;
      intermediary field_25293 Lnet/minecraft/class_2378;field_25293:Lnet/minecraft/class_2378;
      named LOOT_POOL_ENTRY_TYPE Lnet/minecraft/util/registry/Registry;LOOT_POOL_ENTRY_TYPE:Lnet/minecraft/util/registry/Registry;
    • LOOT_FUNCTION_TYPE

      public static final Registry<LootFunctionType> LOOT_FUNCTION_TYPE
      Mappings:
      Namespace Name Mixin selector
      official aw Lgn;aw:Lgn;
      intermediary field_25294 Lnet/minecraft/class_2378;field_25294:Lnet/minecraft/class_2378;
      named LOOT_FUNCTION_TYPE Lnet/minecraft/util/registry/Registry;LOOT_FUNCTION_TYPE:Lnet/minecraft/util/registry/Registry;
    • LOOT_CONDITION_TYPE

      public static final Registry<LootConditionType> LOOT_CONDITION_TYPE
      Mappings:
      Namespace Name Mixin selector
      official ax Lgn;ax:Lgn;
      intermediary field_25299 Lnet/minecraft/class_2378;field_25299:Lnet/minecraft/class_2378;
      named LOOT_CONDITION_TYPE Lnet/minecraft/util/registry/Registry;LOOT_CONDITION_TYPE:Lnet/minecraft/util/registry/Registry;
    • LOOT_NUMBER_PROVIDER_TYPE

      public static final Registry<LootNumberProviderType> LOOT_NUMBER_PROVIDER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official ay Lgn;ay:Lgn;
      intermediary field_28008 Lnet/minecraft/class_2378;field_28008:Lnet/minecraft/class_2378;
      named LOOT_NUMBER_PROVIDER_TYPE Lnet/minecraft/util/registry/Registry;LOOT_NUMBER_PROVIDER_TYPE:Lnet/minecraft/util/registry/Registry;
    • LOOT_NBT_PROVIDER_TYPE

      public static final Registry<LootNbtProviderType> LOOT_NBT_PROVIDER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official az Lgn;az:Lgn;
      intermediary field_28009 Lnet/minecraft/class_2378;field_28009:Lnet/minecraft/class_2378;
      named LOOT_NBT_PROVIDER_TYPE Lnet/minecraft/util/registry/Registry;LOOT_NBT_PROVIDER_TYPE:Lnet/minecraft/util/registry/Registry;
    • LOOT_SCORE_PROVIDER_TYPE

      public static final Registry<LootScoreProviderType> LOOT_SCORE_PROVIDER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official aA Lgn;aA:Lgn;
      intermediary field_28010 Lnet/minecraft/class_2378;field_28010:Lnet/minecraft/class_2378;
      named LOOT_SCORE_PROVIDER_TYPE Lnet/minecraft/util/registry/Registry;LOOT_SCORE_PROVIDER_TYPE:Lnet/minecraft/util/registry/Registry;
    • NOISE_SETTINGS_WORLDGEN

      public static final RegistryKey<Registry<ChunkGeneratorSettings>> NOISE_SETTINGS_WORLDGEN
      Mappings:
      Namespace Name Mixin selector
      official aB Lgn;aB:Lwa;
      intermediary field_26374 Lnet/minecraft/class_2378;field_26374:Lnet/minecraft/class_5321;
      named NOISE_SETTINGS_WORLDGEN Lnet/minecraft/util/registry/Registry;NOISE_SETTINGS_WORLDGEN:Lnet/minecraft/util/registry/RegistryKey;
    • CONFIGURED_SURFACE_BUILDER_WORLDGEN

      public static final RegistryKey<Registry<ConfiguredSurfaceBuilder<?>>> CONFIGURED_SURFACE_BUILDER_WORLDGEN
      Mappings:
      Namespace Name Mixin selector
      official aC Lgn;aC:Lwa;
      intermediary field_25912 Lnet/minecraft/class_2378;field_25912:Lnet/minecraft/class_5321;
      named CONFIGURED_SURFACE_BUILDER_WORLDGEN Lnet/minecraft/util/registry/Registry;CONFIGURED_SURFACE_BUILDER_WORLDGEN:Lnet/minecraft/util/registry/RegistryKey;
    • CONFIGURED_CARVER_WORLDGEN

      public static final RegistryKey<Registry<ConfiguredCarver<?>>> CONFIGURED_CARVER_WORLDGEN
      Mappings:
      Namespace Name Mixin selector
      official aD Lgn;aD:Lwa;
      intermediary field_25913 Lnet/minecraft/class_2378;field_25913:Lnet/minecraft/class_5321;
      named CONFIGURED_CARVER_WORLDGEN Lnet/minecraft/util/registry/Registry;CONFIGURED_CARVER_WORLDGEN:Lnet/minecraft/util/registry/RegistryKey;
    • CONFIGURED_FEATURE_WORLDGEN

      public static final RegistryKey<Registry<ConfiguredFeature<?,​?>>> CONFIGURED_FEATURE_WORLDGEN
      Mappings:
      Namespace Name Mixin selector
      official aE Lgn;aE:Lwa;
      intermediary field_25914 Lnet/minecraft/class_2378;field_25914:Lnet/minecraft/class_5321;
      named CONFIGURED_FEATURE_WORLDGEN Lnet/minecraft/util/registry/Registry;CONFIGURED_FEATURE_WORLDGEN:Lnet/minecraft/util/registry/RegistryKey;
    • CONFIGURED_STRUCTURE_FEATURE_WORLDGEN

      public static final RegistryKey<Registry<ConfiguredStructureFeature<?,​?>>> CONFIGURED_STRUCTURE_FEATURE_WORLDGEN
      Mappings:
      Namespace Name Mixin selector
      official aF Lgn;aF:Lwa;
      intermediary field_25915 Lnet/minecraft/class_2378;field_25915:Lnet/minecraft/class_5321;
      named CONFIGURED_STRUCTURE_FEATURE_WORLDGEN Lnet/minecraft/util/registry/Registry;CONFIGURED_STRUCTURE_FEATURE_WORLDGEN:Lnet/minecraft/util/registry/RegistryKey;
    • PROCESSOR_LIST_WORLDGEN

      public static final RegistryKey<Registry<StructureProcessorList>> PROCESSOR_LIST_WORLDGEN
      Mappings:
      Namespace Name Mixin selector
      official aG Lgn;aG:Lwa;
      intermediary field_25916 Lnet/minecraft/class_2378;field_25916:Lnet/minecraft/class_5321;
      named PROCESSOR_LIST_WORLDGEN Lnet/minecraft/util/registry/Registry;PROCESSOR_LIST_WORLDGEN:Lnet/minecraft/util/registry/RegistryKey;
    • TEMPLATE_POOL_WORLDGEN

      public static final RegistryKey<Registry<StructurePool>> TEMPLATE_POOL_WORLDGEN
      Mappings:
      Namespace Name Mixin selector
      official aH Lgn;aH:Lwa;
      intermediary field_25917 Lnet/minecraft/class_2378;field_25917:Lnet/minecraft/class_5321;
      named TEMPLATE_POOL_WORLDGEN Lnet/minecraft/util/registry/Registry;TEMPLATE_POOL_WORLDGEN:Lnet/minecraft/util/registry/RegistryKey;
    • BIOME_KEY

      public static final RegistryKey<Registry<Biome>> BIOME_KEY
      Mappings:
      Namespace Name Mixin selector
      official aI Lgn;aI:Lwa;
      intermediary field_25114 Lnet/minecraft/class_2378;field_25114:Lnet/minecraft/class_5321;
      named BIOME_KEY Lnet/minecraft/util/registry/Registry;BIOME_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • SURFACE_BUILD_KEY

      public static final RegistryKey<Registry<SurfaceBuilder<?>>> SURFACE_BUILD_KEY
      Mappings:
      Namespace Name Mixin selector
      official aJ Lgn;aJ:Lwa;
      intermediary field_25111 Lnet/minecraft/class_2378;field_25111:Lnet/minecraft/class_5321;
      named SURFACE_BUILD_KEY Lnet/minecraft/util/registry/Registry;SURFACE_BUILD_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • SURFACE_BUILDER

      public static final Registry<SurfaceBuilder<?>> SURFACE_BUILDER
      Mappings:
      Namespace Name Mixin selector
      official aK Lgn;aK:Lgn;
      intermediary field_11147 Lnet/minecraft/class_2378;field_11147:Lnet/minecraft/class_2378;
      named SURFACE_BUILDER Lnet/minecraft/util/registry/Registry;SURFACE_BUILDER:Lnet/minecraft/util/registry/Registry;
    • CARVER_KEY

      public static final RegistryKey<Registry<Carver<?>>> CARVER_KEY
      Mappings:
      Namespace Name Mixin selector
      official aL Lgn;aL:Lwa;
      intermediary field_25110 Lnet/minecraft/class_2378;field_25110:Lnet/minecraft/class_5321;
      named CARVER_KEY Lnet/minecraft/util/registry/Registry;CARVER_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • CARVER

      public static final Registry<Carver<?>> CARVER
      Mappings:
      Namespace Name Mixin selector
      official aM Lgn;aM:Lgn;
      intermediary field_11157 Lnet/minecraft/class_2378;field_11157:Lnet/minecraft/class_2378;
      named CARVER Lnet/minecraft/util/registry/Registry;CARVER:Lnet/minecraft/util/registry/Registry;
    • FEATURE_KEY

      public static final RegistryKey<Registry<Feature<?>>> FEATURE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aN Lgn;aN:Lwa;
      intermediary field_25112 Lnet/minecraft/class_2378;field_25112:Lnet/minecraft/class_5321;
      named FEATURE_KEY Lnet/minecraft/util/registry/Registry;FEATURE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • FEATURE

      public static final Registry<Feature<?>> FEATURE
      Mappings:
      Namespace Name Mixin selector
      official aO Lgn;aO:Lgn;
      intermediary field_11138 Lnet/minecraft/class_2378;field_11138:Lnet/minecraft/class_2378;
      named FEATURE Lnet/minecraft/util/registry/Registry;FEATURE:Lnet/minecraft/util/registry/Registry;
    • STRUCTURE_FEATURE_KEY

      public static final RegistryKey<Registry<StructureFeature<?>>> STRUCTURE_FEATURE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aP Lgn;aP:Lwa;
      intermediary field_25077 Lnet/minecraft/class_2378;field_25077:Lnet/minecraft/class_5321;
      named STRUCTURE_FEATURE_KEY Lnet/minecraft/util/registry/Registry;STRUCTURE_FEATURE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • STRUCTURE_FEATURE

      public static final Registry<StructureFeature<?>> STRUCTURE_FEATURE
      Mappings:
      Namespace Name Mixin selector
      official aQ Lgn;aQ:Lgn;
      intermediary field_16644 Lnet/minecraft/class_2378;field_16644:Lnet/minecraft/class_2378;
      named STRUCTURE_FEATURE Lnet/minecraft/util/registry/Registry;STRUCTURE_FEATURE:Lnet/minecraft/util/registry/Registry;
    • STRUCTURE_PIECE_KEY

      public static final RegistryKey<Registry<StructurePieceType>> STRUCTURE_PIECE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aR Lgn;aR:Lwa;
      intermediary field_25078 Lnet/minecraft/class_2378;field_25078:Lnet/minecraft/class_5321;
      named STRUCTURE_PIECE_KEY Lnet/minecraft/util/registry/Registry;STRUCTURE_PIECE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • STRUCTURE_PIECE

      public static final Registry<StructurePieceType> STRUCTURE_PIECE
      Mappings:
      Namespace Name Mixin selector
      official aS Lgn;aS:Lgn;
      intermediary field_16645 Lnet/minecraft/class_2378;field_16645:Lnet/minecraft/class_2378;
      named STRUCTURE_PIECE Lnet/minecraft/util/registry/Registry;STRUCTURE_PIECE:Lnet/minecraft/util/registry/Registry;
    • DECORATOR_KEY

      public static final RegistryKey<Registry<Decorator<?>>> DECORATOR_KEY
      Mappings:
      Namespace Name Mixin selector
      official aT Lgn;aT:Lwa;
      intermediary field_25113 Lnet/minecraft/class_2378;field_25113:Lnet/minecraft/class_5321;
      named DECORATOR_KEY Lnet/minecraft/util/registry/Registry;DECORATOR_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • DECORATOR

      public static final Registry<Decorator<?>> DECORATOR
      Mappings:
      Namespace Name Mixin selector
      official aU Lgn;aU:Lgn;
      intermediary field_11148 Lnet/minecraft/class_2378;field_11148:Lnet/minecraft/class_2378;
      named DECORATOR Lnet/minecraft/util/registry/Registry;DECORATOR:Lnet/minecraft/util/registry/Registry;
    • BLOCK_STATE_PROVIDER_TYPE_KEY

      public static final RegistryKey<Registry<BlockStateProviderType<?>>> BLOCK_STATE_PROVIDER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aV Lgn;aV:Lwa;
      intermediary field_25115 Lnet/minecraft/class_2378;field_25115:Lnet/minecraft/class_5321;
      named BLOCK_STATE_PROVIDER_TYPE_KEY Lnet/minecraft/util/registry/Registry;BLOCK_STATE_PROVIDER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • BLOCK_PLACER_TYPE_KEY

      public static final RegistryKey<Registry<BlockPlacerType<?>>> BLOCK_PLACER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aW Lgn;aW:Lwa;
      intermediary field_25116 Lnet/minecraft/class_2378;field_25116:Lnet/minecraft/class_5321;
      named BLOCK_PLACER_TYPE_KEY Lnet/minecraft/util/registry/Registry;BLOCK_PLACER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • FOLIAGE_PLACER_TYPE_KEY

      public static final RegistryKey<Registry<FoliagePlacerType<?>>> FOLIAGE_PLACER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aX Lgn;aX:Lwa;
      intermediary field_25117 Lnet/minecraft/class_2378;field_25117:Lnet/minecraft/class_5321;
      named FOLIAGE_PLACER_TYPE_KEY Lnet/minecraft/util/registry/Registry;FOLIAGE_PLACER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • TRUNK_PLACER_TYPE_KEY

      public static final RegistryKey<Registry<TrunkPlacerType<?>>> TRUNK_PLACER_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aY Lgn;aY:Lwa;
      intermediary field_25118 Lnet/minecraft/class_2378;field_25118:Lnet/minecraft/class_5321;
      named TRUNK_PLACER_TYPE_KEY Lnet/minecraft/util/registry/Registry;TRUNK_PLACER_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • TREE_DECORATOR_TYPE_KEY

      public static final RegistryKey<Registry<TreeDecoratorType<?>>> TREE_DECORATOR_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official aZ Lgn;aZ:Lwa;
      intermediary field_25068 Lnet/minecraft/class_2378;field_25068:Lnet/minecraft/class_5321;
      named TREE_DECORATOR_TYPE_KEY Lnet/minecraft/util/registry/Registry;TREE_DECORATOR_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • FEATURE_SIZE_TYPE_KEY

      public static final RegistryKey<Registry<FeatureSizeType<?>>> FEATURE_SIZE_TYPE_KEY
      Mappings:
      Namespace Name Mixin selector
      official ba Lgn;ba:Lwa;
      intermediary field_25069 Lnet/minecraft/class_2378;field_25069:Lnet/minecraft/class_5321;
      named FEATURE_SIZE_TYPE_KEY Lnet/minecraft/util/registry/Registry;FEATURE_SIZE_TYPE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • BIOME_SOURCE_KEY

      public static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>> BIOME_SOURCE_KEY
      Mappings:
      Namespace Name Mixin selector
      official bb Lgn;bb:Lwa;
      intermediary field_25071 Lnet/minecraft/class_2378;field_25071:Lnet/minecraft/class_5321;
      named BIOME_SOURCE_KEY Lnet/minecraft/util/registry/Registry;BIOME_SOURCE_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • CHUNK_GENERATOR_KEY

      public static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>> CHUNK_GENERATOR_KEY
      Mappings:
      Namespace Name Mixin selector
      official bc Lgn;bc:Lwa;
      intermediary field_25072 Lnet/minecraft/class_2378;field_25072:Lnet/minecraft/class_5321;
      named CHUNK_GENERATOR_KEY Lnet/minecraft/util/registry/Registry;CHUNK_GENERATOR_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • STRUCTURE_PROCESSOR_KEY

      public static final RegistryKey<Registry<StructureProcessorType<?>>> STRUCTURE_PROCESSOR_KEY
      Mappings:
      Namespace Name Mixin selector
      official bd Lgn;bd:Lwa;
      intermediary field_25081 Lnet/minecraft/class_2378;field_25081:Lnet/minecraft/class_5321;
      named STRUCTURE_PROCESSOR_KEY Lnet/minecraft/util/registry/Registry;STRUCTURE_PROCESSOR_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • STRUCTURE_POOL_ELEMENT_KEY

      public static final RegistryKey<Registry<StructurePoolElementType<?>>> STRUCTURE_POOL_ELEMENT_KEY
      Mappings:
      Namespace Name Mixin selector
      official be Lgn;be:Lwa;
      intermediary field_25082 Lnet/minecraft/class_2378;field_25082:Lnet/minecraft/class_5321;
      named STRUCTURE_POOL_ELEMENT_KEY Lnet/minecraft/util/registry/Registry;STRUCTURE_POOL_ELEMENT_KEY:Lnet/minecraft/util/registry/RegistryKey;
    • BLOCK_STATE_PROVIDER_TYPE

      public static final Registry<BlockStateProviderType<?>> BLOCK_STATE_PROVIDER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official bf Lgn;bf:Lgn;
      intermediary field_21445 Lnet/minecraft/class_2378;field_21445:Lnet/minecraft/class_2378;
      named BLOCK_STATE_PROVIDER_TYPE Lnet/minecraft/util/registry/Registry;BLOCK_STATE_PROVIDER_TYPE:Lnet/minecraft/util/registry/Registry;
    • BLOCK_PLACER_TYPE

      public static final Registry<BlockPlacerType<?>> BLOCK_PLACER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official bg Lgn;bg:Lgn;
      intermediary field_21446 Lnet/minecraft/class_2378;field_21446:Lnet/minecraft/class_2378;
      named BLOCK_PLACER_TYPE Lnet/minecraft/util/registry/Registry;BLOCK_PLACER_TYPE:Lnet/minecraft/util/registry/Registry;
    • FOLIAGE_PLACER_TYPE

      public static final Registry<FoliagePlacerType<?>> FOLIAGE_PLACER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official bh Lgn;bh:Lgn;
      intermediary field_21447 Lnet/minecraft/class_2378;field_21447:Lnet/minecraft/class_2378;
      named FOLIAGE_PLACER_TYPE Lnet/minecraft/util/registry/Registry;FOLIAGE_PLACER_TYPE:Lnet/minecraft/util/registry/Registry;
    • TRUNK_PLACER_TYPE

      public static final Registry<TrunkPlacerType<?>> TRUNK_PLACER_TYPE
      Mappings:
      Namespace Name Mixin selector
      official bi Lgn;bi:Lgn;
      intermediary field_23782 Lnet/minecraft/class_2378;field_23782:Lnet/minecraft/class_2378;
      named TRUNK_PLACER_TYPE Lnet/minecraft/util/registry/Registry;TRUNK_PLACER_TYPE:Lnet/minecraft/util/registry/Registry;
    • TREE_DECORATOR_TYPE

      public static final Registry<TreeDecoratorType<?>> TREE_DECORATOR_TYPE
      Mappings:
      Namespace Name Mixin selector
      official bj Lgn;bj:Lgn;
      intermediary field_21448 Lnet/minecraft/class_2378;field_21448:Lnet/minecraft/class_2378;
      named TREE_DECORATOR_TYPE Lnet/minecraft/util/registry/Registry;TREE_DECORATOR_TYPE:Lnet/minecraft/util/registry/Registry;
    • FEATURE_SIZE_TYPE

      public static final Registry<FeatureSizeType<?>> FEATURE_SIZE_TYPE
      Mappings:
      Namespace Name Mixin selector
      official bk Lgn;bk:Lgn;
      intermediary field_24331 Lnet/minecraft/class_2378;field_24331:Lnet/minecraft/class_2378;
      named FEATURE_SIZE_TYPE Lnet/minecraft/util/registry/Registry;FEATURE_SIZE_TYPE:Lnet/minecraft/util/registry/Registry;
    • BIOME_SOURCE

      public static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>> BIOME_SOURCE
      Mappings:
      Namespace Name Mixin selector
      official bl Lgn;bl:Lgn;
      intermediary field_25096 Lnet/minecraft/class_2378;field_25096:Lnet/minecraft/class_2378;
      named BIOME_SOURCE Lnet/minecraft/util/registry/Registry;BIOME_SOURCE:Lnet/minecraft/util/registry/Registry;
    • CHUNK_GENERATOR

      public static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> CHUNK_GENERATOR
      Mappings:
      Namespace Name Mixin selector
      official bm Lgn;bm:Lgn;
      intermediary field_25097 Lnet/minecraft/class_2378;field_25097:Lnet/minecraft/class_2378;
      named CHUNK_GENERATOR Lnet/minecraft/util/registry/Registry;CHUNK_GENERATOR:Lnet/minecraft/util/registry/Registry;
    • STRUCTURE_PROCESSOR

      public static final Registry<StructureProcessorType<?>> STRUCTURE_PROCESSOR
      Mappings:
      Namespace Name Mixin selector
      official bn Lgn;bn:Lgn;
      intermediary field_16794 Lnet/minecraft/class_2378;field_16794:Lnet/minecraft/class_2378;
      named STRUCTURE_PROCESSOR Lnet/minecraft/util/registry/Registry;STRUCTURE_PROCESSOR:Lnet/minecraft/util/registry/Registry;
    • STRUCTURE_POOL_ELEMENT

      public static final Registry<StructurePoolElementType<?>> STRUCTURE_POOL_ELEMENT
      Mappings:
      Namespace Name Mixin selector
      official bo Lgn;bo:Lgn;
      intermediary field_16793 Lnet/minecraft/class_2378;field_16793:Lnet/minecraft/class_2378;
      named STRUCTURE_POOL_ELEMENT Lnet/minecraft/util/registry/Registry;STRUCTURE_POOL_ELEMENT:Lnet/minecraft/util/registry/Registry;
    • registryKey

      private final RegistryKey<? extends Registry<T>> registryKey
      The RegistryKey representing the ID of the actual registry.
      Mappings:
      Namespace Name Mixin selector
      official b Lgn;b:Lwa;
      intermediary field_25098 Lnet/minecraft/class_2378;field_25098:Lnet/minecraft/class_5321;
      named registryKey Lnet/minecraft/util/registry/Registry;registryKey:Lnet/minecraft/util/registry/RegistryKey;
    • lifecycle

      private final com.mojang.serialization.Lifecycle lifecycle
      Mappings:
      Namespace Name Mixin selector
      official bp Lgn;bp:Lcom/mojang/serialization/Lifecycle;
      intermediary field_25099 Lnet/minecraft/class_2378;field_25099:Lcom/mojang/serialization/Lifecycle;
      named lifecycle Lnet/minecraft/util/registry/Registry;lifecycle:Lcom/mojang/serialization/Lifecycle;
  • Constructor Details

    • Registry

      protected Registry​(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgn;<init>(Lwa;Lcom/mojang/serialization/Lifecycle;)V
      intermediary <init> Lnet/minecraft/class_2378;<init>(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;)V
      named <init> Lnet/minecraft/util/registry/Registry;<init>(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;)V
  • Method Details

    • createRegistryKey

      private static <T> RegistryKey<Registry<T>> createRegistryKey​(String registryId)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Ljava/lang/String;)Lwa;
      intermediary method_29106 Lnet/minecraft/class_2378;method_29106(Ljava/lang/String;)Lnet/minecraft/class_5321;
      named createRegistryKey Lnet/minecraft/util/registry/Registry;createRegistryKey(Ljava/lang/String;)Lnet/minecraft/util/registry/RegistryKey;
    • validate

      public static <T extends MutableRegistry<?>> void validate​(MutableRegistry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lgt;)V
      intermediary method_29103 Lnet/minecraft/class_2378;method_29103(Lnet/minecraft/class_2385;)V
      named validate Lnet/minecraft/util/registry/Registry;validate(Lnet/minecraft/util/registry/MutableRegistry;)V
    • create

      private static <T> Registry<T> create​(RegistryKey<? extends Registry<T>> key, Supplier<T> defaultEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lwa;Ljava/util/function/Supplier;)Lgn;
      intermediary method_10247 Lnet/minecraft/class_2378;method_10247(Lnet/minecraft/class_5321;Ljava/util/function/Supplier;)Lnet/minecraft/class_2378;
      named create Lnet/minecraft/util/registry/Registry;create(Lnet/minecraft/util/registry/RegistryKey;Ljava/util/function/Supplier;)Lnet/minecraft/util/registry/Registry;
    • create

      private static <T> DefaultedRegistry<T> create​(RegistryKey<? extends Registry<T>> key, String defaultId, Supplier<T> defaultEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lwa;Ljava/lang/String;Ljava/util/function/Supplier;)Lgb;
      intermediary method_10224 Lnet/minecraft/class_2378;method_10224(Lnet/minecraft/class_5321;Ljava/lang/String;Ljava/util/function/Supplier;)Lnet/minecraft/class_2348;
      named create Lnet/minecraft/util/registry/Registry;create(Lnet/minecraft/util/registry/RegistryKey;Ljava/lang/String;Ljava/util/function/Supplier;)Lnet/minecraft/util/registry/DefaultedRegistry;
    • create

      private static <T> Registry<T> create​(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lwa;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lgn;
      intermediary method_29108 Lnet/minecraft/class_2378;method_29108(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lnet/minecraft/class_2378;
      named create Lnet/minecraft/util/registry/Registry;create(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lnet/minecraft/util/registry/Registry;
    • create

      private static <T> DefaultedRegistry<T> create​(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lwa;Ljava/lang/String;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lgb;
      intermediary method_29109 Lnet/minecraft/class_2378;method_29109(Lnet/minecraft/class_5321;Ljava/lang/String;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lnet/minecraft/class_2348;
      named create Lnet/minecraft/util/registry/Registry;create(Lnet/minecraft/util/registry/RegistryKey;Ljava/lang/String;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lnet/minecraft/util/registry/DefaultedRegistry;
    • create

      private static <T,​ R extends MutableRegistry<T>> R create​(RegistryKey<? extends Registry<T>> key, R registry, Supplier<T> defaultEntry, com.mojang.serialization.Lifecycle lifecycle)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lwa;Lgt;Ljava/util/function/Supplier;Lcom/mojang/serialization/Lifecycle;)Lgt;
      intermediary method_10227 Lnet/minecraft/class_2378;method_10227(Lnet/minecraft/class_5321;Lnet/minecraft/class_2385;Ljava/util/function/Supplier;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/class_2385;
      named create Lnet/minecraft/util/registry/Registry;create(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/MutableRegistry;Ljava/util/function/Supplier;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/util/registry/MutableRegistry;
    • getKey

      public RegistryKey<? extends Registry<T>> getKey()
      Mappings:
      Namespace Name Mixin selector
      official f Lgn;f()Lwa;
      intermediary method_30517 Lnet/minecraft/class_2378;method_30517()Lnet/minecraft/class_5321;
      named getKey Lnet/minecraft/util/registry/Registry;getKey()Lnet/minecraft/util/registry/RegistryKey;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lgn;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2378;toString()Ljava/lang/String;
      named toString Lnet/minecraft/util/registry/Registry;toString()Ljava/lang/String;
    • decode

      public <U> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<T,​U>> decode​(com.mojang.serialization.DynamicOps<U> dynamicOps, U u)
      Specified by:
      decode in interface com.mojang.serialization.Decoder<T>
      Mappings:
      Namespace Name Mixin selector
      official decode Lgn;decode(Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
      intermediary decode Lnet/minecraft/class_2378;decode(Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
      named decode Lnet/minecraft/util/registry/Registry;decode(Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
    • encode

      public <U> com.mojang.serialization.DataResult<U> encode​(T t, com.mojang.serialization.DynamicOps<U> dynamicOps, U u)
      Specified by:
      encode in interface com.mojang.serialization.Encoder<T>
      Mappings:
      Namespace Name Mixin selector
      official encode Lgn;encode(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
      intermediary encode Lnet/minecraft/class_2378;encode(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
      named encode Lnet/minecraft/util/registry/Registry;encode(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
    • keys

      public <U> Stream<U> keys​(com.mojang.serialization.DynamicOps<U> dynamicOps)
      Specified by:
      keys in interface com.mojang.serialization.Keyable
      Mappings:
      Namespace Name Mixin selector
      official keys Lgn;keys(Lcom/mojang/serialization/DynamicOps;)Ljava/util/stream/Stream;
      intermediary keys Lnet/minecraft/class_2378;keys(Lcom/mojang/serialization/DynamicOps;)Ljava/util/stream/Stream;
      named keys Lnet/minecraft/util/registry/Registry;keys(Lcom/mojang/serialization/DynamicOps;)Ljava/util/stream/Stream;
    • getId

      @Nullable public abstract Identifier getId​(T entry)
      Mappings:
      Namespace Name Mixin selector
      official b Lgn;b(Ljava/lang/Object;)Lwb;
      intermediary method_10221 Lnet/minecraft/class_2378;method_10221(Ljava/lang/Object;)Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/util/registry/Registry;getId(Ljava/lang/Object;)Lnet/minecraft/util/Identifier;
    • getKey

      public abstract Optional<RegistryKey<T>> getKey​(T entry)
      Mappings:
      Namespace Name Mixin selector
      official c Lgn;c(Ljava/lang/Object;)Ljava/util/Optional;
      intermediary method_29113 Lnet/minecraft/class_2378;method_29113(Ljava/lang/Object;)Ljava/util/Optional;
      named getKey Lnet/minecraft/util/registry/Registry;getKey(Ljava/lang/Object;)Ljava/util/Optional;
    • getRawId

      public abstract int getRawId​(@Nullable T entry)
      Specified by:
      getRawId in interface IndexedIterable<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lgg;a(Ljava/lang/Object;)I
      intermediary method_10206 Lnet/minecraft/class_2359;method_10206(Ljava/lang/Object;)I
      named getRawId Lnet/minecraft/util/collection/IndexedIterable;getRawId(Ljava/lang/Object;)I
    • get

      @Nullable public abstract T get​(@Nullable RegistryKey<T> key)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lwa;)Ljava/lang/Object;
      intermediary method_29107 Lnet/minecraft/class_2378;method_29107(Lnet/minecraft/class_5321;)Ljava/lang/Object;
      named get Lnet/minecraft/util/registry/Registry;get(Lnet/minecraft/util/registry/RegistryKey;)Ljava/lang/Object;
    • get

      @Nullable public abstract T get​(@Nullable Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lwb;)Ljava/lang/Object;
      intermediary method_10223 Lnet/minecraft/class_2378;method_10223(Lnet/minecraft/class_2960;)Ljava/lang/Object;
      named get Lnet/minecraft/util/registry/Registry;get(Lnet/minecraft/util/Identifier;)Ljava/lang/Object;
    • getEntryLifecycle

      protected abstract com.mojang.serialization.Lifecycle getEntryLifecycle​(T entry)
      Gets the lifecycle of a registry entry.
      Mappings:
      Namespace Name Mixin selector
      official d Lgn;d(Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle;
      intermediary method_31139 Lnet/minecraft/class_2378;method_31139(Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle;
      named getEntryLifecycle Lnet/minecraft/util/registry/Registry;getEntryLifecycle(Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle;
    • getLifecycle

      public abstract com.mojang.serialization.Lifecycle getLifecycle()
      Mappings:
      Namespace Name Mixin selector
      official b Lgn;b()Lcom/mojang/serialization/Lifecycle;
      intermediary method_31138 Lnet/minecraft/class_2378;method_31138()Lcom/mojang/serialization/Lifecycle;
      named getLifecycle Lnet/minecraft/util/registry/Registry;getLifecycle()Lcom/mojang/serialization/Lifecycle;
    • getOrEmpty

      public Optional<T> getOrEmpty​(@Nullable Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official b Lgn;b(Lwb;)Ljava/util/Optional;
      intermediary method_17966 Lnet/minecraft/class_2378;method_17966(Lnet/minecraft/class_2960;)Ljava/util/Optional;
      named getOrEmpty Lnet/minecraft/util/registry/Registry;getOrEmpty(Lnet/minecraft/util/Identifier;)Ljava/util/Optional;
    • getOrEmpty

      @Environment(CLIENT) public Optional<T> getOrEmpty​(@Nullable RegistryKey<T> key)
      Mappings:
      Namespace Name Mixin selector
      official c Lgn;c(Lwa;)Ljava/util/Optional;
      intermediary method_31189 Lnet/minecraft/class_2378;method_31189(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      named getOrEmpty Lnet/minecraft/util/registry/Registry;getOrEmpty(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Optional;
    • getOrThrow

      public T getOrThrow​(RegistryKey<T> key)
      Gets an entry from the registry.
      Throws:
      IllegalStateException - if the entry was not present in the registry
      Mappings:
      Namespace Name Mixin selector
      official d Lgn;d(Lwa;)Ljava/lang/Object;
      intermediary method_31140 Lnet/minecraft/class_2378;method_31140(Lnet/minecraft/class_5321;)Ljava/lang/Object;
      named getOrThrow Lnet/minecraft/util/registry/Registry;getOrThrow(Lnet/minecraft/util/registry/RegistryKey;)Ljava/lang/Object;
    • getIds

      public abstract Set<Identifier> getIds()
      Mappings:
      Namespace Name Mixin selector
      official c Lgn;c()Ljava/util/Set;
      intermediary method_10235 Lnet/minecraft/class_2378;method_10235()Ljava/util/Set;
      named getIds Lnet/minecraft/util/registry/Registry;getIds()Ljava/util/Set;
    • getEntries

      public abstract Set<Map.Entry<RegistryKey<T>,​T>> getEntries()
      Mappings:
      Namespace Name Mixin selector
      official d Lgn;d()Ljava/util/Set;
      intermediary method_29722 Lnet/minecraft/class_2378;method_29722()Ljava/util/Set;
      named getEntries Lnet/minecraft/util/registry/Registry;getEntries()Ljava/util/Set;
    • stream

      public Stream<T> stream()
      Mappings:
      Namespace Name Mixin selector
      official g Lgn;g()Ljava/util/stream/Stream;
      intermediary method_10220 Lnet/minecraft/class_2378;method_10220()Ljava/util/stream/Stream;
      named stream Lnet/minecraft/util/registry/Registry;stream()Ljava/util/stream/Stream;
    • containsId

      public abstract boolean containsId​(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official c Lgn;c(Lwb;)Z
      intermediary method_10250 Lnet/minecraft/class_2378;method_10250(Lnet/minecraft/class_2960;)Z
      named containsId Lnet/minecraft/util/registry/Registry;containsId(Lnet/minecraft/util/Identifier;)Z
    • register

      public static <T> T register​(Registry<? super T> registry, String id, T entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lgn;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_10226 Lnet/minecraft/class_2378;method_10226(Lnet/minecraft/class_2378;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
      named register Lnet/minecraft/util/registry/Registry;register(Lnet/minecraft/util/registry/Registry;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    • register

      public static <V,​ T extends V> T register​(Registry<V> registry, Identifier id, T entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lgn;Lwb;Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_10230 Lnet/minecraft/class_2378;method_10230(Lnet/minecraft/class_2378;Lnet/minecraft/class_2960;Ljava/lang/Object;)Ljava/lang/Object;
      named register Lnet/minecraft/util/registry/Registry;register(Lnet/minecraft/util/registry/Registry;Lnet/minecraft/util/Identifier;Ljava/lang/Object;)Ljava/lang/Object;
    • register

      public static <V,​ T extends V> T register​(Registry<V> registry, int rawId, String id, T entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lgn;ILjava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_10231 Lnet/minecraft/class_2378;method_10231(Lnet/minecraft/class_2378;ILjava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
      named register Lnet/minecraft/util/registry/Registry;register(Lnet/minecraft/util/registry/Registry;ILjava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;