Uses of Interface
net.minecraft.registry.DefaultedRegistry
-
Uses of DefaultedRegistry in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionVillagerClothingFeatureRenderer.getHatType
(Object2ObjectMap<K, VillagerResourceMetadata.HatType> hatLookUp, String keyType, DefaultedRegistry<K> registry, K key) -
Uses of DefaultedRegistry in net.minecraft.registry
Modifier and TypeClassDescriptionclass
An implementation ofRegistry
with a default ID and value for unknown lookups.Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<Block>
Registries.BLOCK
static final DefaultedRegistry<ChunkStatus>
Registries.CHUNK_STATUS
static final DefaultedRegistry<EntityType<?>>
Registries.ENTITY_TYPE
static final DefaultedRegistry<Fluid>
Registries.FLUID
static final DefaultedRegistry<GameEvent>
Registries.GAME_EVENT
static final DefaultedRegistry<Item>
Registries.ITEM
static final DefaultedRegistry<MemoryModuleType<?>>
Registries.MEMORY_MODULE_TYPE
static final DefaultedRegistry<PaintingVariant>
Registries.PAINTING_VARIANT
static final DefaultedRegistry<Potion>
Registries.POTION
static final DefaultedRegistry<SensorType<?>>
Registries.SENSOR_TYPE
static final DefaultedRegistry<VillagerProfession>
Registries.VILLAGER_PROFESSION
static final DefaultedRegistry<VillagerType>
Registries.VILLAGER_TYPE
Modifier and TypeMethodDescriptionprivate static <T> DefaultedRegistry<T>
Registries.create
(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private static <T> DefaultedRegistry<T>
Registries.create
(RegistryKey<? extends Registry<T>> key, String defaultId, Registries.Initializer<T> initializer) private static <T> DefaultedRegistry<T>
Registries.createIntrusive
(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private static <T> DefaultedRegistry<T>
Registries.createIntrusive
(RegistryKey<? extends Registry<T>> key, String defaultId, Registries.Initializer<T> initializer)