Uses of Interface
net.minecraft.registry.entry.RegistryEntry
Packages that use RegistryEntry
Package
Description
-
Uses of RegistryEntry in net.minecraft.block
Methods in net.minecraft.block that return RegistryEntryMethods in net.minecraft.block that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate Optional<? extends RegistryEntry<ConfiguredFeature<?,
?>>> FungusBlock.getFeatureEntry
(WorldView world) -
Uses of RegistryEntry in net.minecraft.block.entity
Fields in net.minecraft.block.entity with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerPattern.Patterns.entries
private @Nullable List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.patterns
Methods in net.minecraft.block.entity that return RegistryEntryMethods in net.minecraft.block.entity that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.getPatterns()
static List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.getPatternsFromNbt
(DyeColor baseColor, @Nullable NbtList patternListNbt) Methods in net.minecraft.block.entity with parameters of type RegistryEntryModifier and TypeMethodDescriptionBannerPattern.Patterns.add
(RegistryEntry<BannerPattern> pattern, DyeColor color) Method parameters in net.minecraft.block.entity with type arguments of type RegistryEntryModifier and TypeMethodDescriptionBannerPattern.Patterns.add
(com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor> pattern) -
Uses of RegistryEntry in net.minecraft.block.enums
Fields in net.minecraft.block.enums declared as RegistryEntryMethods in net.minecraft.block.enums that return RegistryEntryConstructors in net.minecraft.block.enums with parameters of type RegistryEntryModifierConstructorDescriptionprivate
Instrument
(String name, RegistryEntry<SoundEvent> sound, Instrument.Type type) -
Uses of RegistryEntry in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate static String
DebugHud.getBiomeString
(RegistryEntry<Biome> biome) -
Uses of RegistryEntry in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as RegistryEntryModifier and TypeFieldDescription(package private) RegistryEntry<Biome>
CustomizeBuffetLevelScreen.biome
Fields in net.minecraft.client.gui.screen with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final Consumer<RegistryEntry<Biome>>
CustomizeBuffetLevelScreen.onDone
Constructors in net.minecraft.client.gui.screen with parameters of type RegistryEntryModifierConstructorDescriptionConstructor parameters in net.minecraft.client.gui.screen with type arguments of type RegistryEntryModifierConstructorDescriptionCustomizeBuffetLevelScreen
(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) -
Uses of RegistryEntry in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate @Nullable List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> LoomScreen.bannerPatterns
Methods in net.minecraft.client.gui.screen.ingame with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate void
LoomScreen.drawBanner
(RegistryEntry<BannerPattern> bannerPattern, int x, int y) -
Uses of RegistryEntry in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate CyclingButtonWidget<RegistryEntry<WorldPreset>>
MoreOptionsDialog.mapTypeButton
private Optional<RegistryEntry<WorldPreset>>
MoreOptionsDialog.presetEntry
Methods in net.minecraft.client.gui.screen.world that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate static Optional<List<RegistryEntry<WorldPreset>>>
MoreOptionsDialog.collectPresets
(Registry<WorldPreset> presetRegistry, TagKey<WorldPreset> tag) private static Optional<RegistryEntry<WorldPreset>>
MoreOptionsDialog.createPresetEntry
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey) Methods in net.minecraft.client.gui.screen.world with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate static GeneratorOptionsHolder.RegistryAwareModifier
LevelScreenProvider.createModifier
(RegistryEntry<Biome> biomeEntry) private static Text
MoreOptionsDialog.getText
(RegistryEntry<WorldPreset> presetEntry) private static boolean
MoreOptionsDialog.isAmplified
(RegistryEntry<WorldPreset> presetEntry) -
Uses of RegistryEntry in net.minecraft.client.render.block.entity
Method parameters in net.minecraft.client.render.block.entity with type arguments of type RegistryEntryModifier and TypeMethodDescriptionstatic void
BannerBlockEntityRenderer.renderCanvas
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor>> patterns) static void
BannerBlockEntityRenderer.renderCanvas
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, ModelPart canvas, SpriteIdentifier baseSprite, boolean isBanner, List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor>> patterns, boolean glint) -
Uses of RegistryEntry in net.minecraft.client.sound
Methods in net.minecraft.client.sound with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic MusicSound
MusicType.createIngameMusic
(RegistryEntry<SoundEvent> sound) static PositionedSoundInstance
PositionedSoundInstance.master
(RegistryEntry<SoundEvent> sound, float pitch) -
Uses of RegistryEntry in net.minecraft.client.world
Methods in net.minecraft.client.world that return RegistryEntryModifier and TypeMethodDescriptionClientWorld.getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) Methods in net.minecraft.client.world with parameters of type RegistryEntryModifier and TypeMethodDescriptionvoid
ClientWorld.playSound
(@Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) void
ClientWorld.playSoundFromEntity
(@Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Constructors in net.minecraft.client.world with parameters of type RegistryEntryModifierConstructorDescriptionClientWorld
(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionTypeEntry, int loadDistance, int simulationDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
Uses of RegistryEntry in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<Item>
ItemStackArgument.item
private final RegistryEntry<Item>
ItemStringReader.ItemResult.item
The field for theitem
record component.Fields in net.minecraft.command.argument with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Either<RegistryEntry<Item>,
RegistryEntryList<Item>> ItemStringReader.result
Methods in net.minecraft.command.argument that return RegistryEntryModifier and TypeMethodDescriptionItemStringReader.ItemResult.item()
Returns the value of theitem
record component.Methods in net.minecraft.command.argument with parameters of type RegistryEntryModifier and TypeMethodDescriptionboolean
RegistryEntryPredicateArgumentType.EntryBased.test
(RegistryEntry<T> registryEntry) boolean
RegistryEntryPredicateArgumentType.TagBased.test
(RegistryEntry<T> registryEntry) boolean
RegistryPredicateArgumentType.RegistryKeyBased.test
(RegistryEntry<T> registryEntry) boolean
RegistryPredicateArgumentType.TagBased.test
(RegistryEntry<T> registryEntry) Method parameters in net.minecraft.command.argument with type arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate static ItemPredicateArgumentType.ItemStackPredicateArgument
ItemPredicateArgumentType.getItemStackPredicate
(Predicate<RegistryEntry<Item>> predicate, @Nullable NbtCompound nbt) Constructors in net.minecraft.command.argument with parameters of type RegistryEntryModifierConstructorDescriptionItemResult
(RegistryEntry<Item> registryEntry, @Nullable NbtCompound nbtCompound) ItemStackArgument
(RegistryEntry<Item> item, @Nullable NbtCompound nbt) -
Uses of RegistryEntry in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type RegistryEntryModifier and TypeMethodDescriptiondouble
LivingEntity.getAttributeBaseValue
(RegistryEntry<EntityAttribute> attribute) double
LivingEntity.getAttributeValue
(RegistryEntry<EntityAttribute> attribute) -
Uses of RegistryEntry in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate boolean
VillagerBreedTask.canReachHome
(VillagerEntity villager, BlockPos pos, RegistryEntry<PointOfInterestType> poiType) private static boolean
TakeJobSiteTask.canUseJobSite
(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) private static boolean
WorkStationCompetitionTask.isCompletedWorkStation
(RegistryEntry<PointOfInterestType> poiType, VillagerProfession profession) private static boolean
WorkStationCompetitionTask.isUsingWorkStationAt
(GlobalPos pos, RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type RegistryEntryModifier and TypeMethodDescriptionstatic Task<PathAwareEntity>
FindPointOfInterestTask.create
(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) static Task<PathAwareEntity>
FindPointOfInterestTask.create
(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, MemoryModuleType<GlobalPos> potentialPoiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) static Task<LivingEntity>
ForgetCompletedPointOfInterestTask.create
(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> poiPosModule) FindPointOfInterestTask.findPathToPoi
(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) -
Uses of RegistryEntry in net.minecraft.entity.attribute
Methods in net.minecraft.entity.attribute with parameters of type RegistryEntryModifier and TypeMethodDescriptionAttributeContainer.getCustomInstance
(RegistryEntry<EntityAttribute> attribute) double
AttributeContainer.getModifierValue
(RegistryEntry<EntityAttribute> attribute, UUID uuid) boolean
AttributeContainer.hasAttribute
(RegistryEntry<EntityAttribute> attribute) boolean
AttributeContainer.hasModifierForAttribute
(RegistryEntry<EntityAttribute> attribute, UUID uuid) -
Uses of RegistryEntry in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final TrackedDataHandler<RegistryEntry<PaintingVariant>>
TrackedDataHandlerRegistry.PAINTING_VARIANT
-
Uses of RegistryEntry in net.minecraft.entity.decoration.painting
Fields in net.minecraft.entity.decoration.painting with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate static final TrackedData<RegistryEntry<PaintingVariant>>
PaintingEntity.VARIANT
Methods in net.minecraft.entity.decoration.painting that return RegistryEntryModifier and TypeMethodDescriptionprivate static RegistryEntry<PaintingVariant>
PaintingEntity.getDefaultVariant()
PaintingEntity.getVariant()
Methods in net.minecraft.entity.decoration.painting with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate static int
PaintingEntity.getSize
(RegistryEntry<PaintingVariant> variant) void
PaintingEntity.setVariant
(RegistryEntry<PaintingVariant> variant) Constructors in net.minecraft.entity.decoration.painting with parameters of type RegistryEntryModifierConstructorDescriptionPaintingEntity
(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of RegistryEntry in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,
BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>> VillagerEntity.POINTS_OF_INTEREST
Methods in net.minecraft.entity.passive with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic FoxEntity.Type
FoxEntity.Type.fromBiome
(RegistryEntry<Biome> biome) -
Uses of RegistryEntry in net.minecraft.fluid
Methods in net.minecraft.fluid that return RegistryEntry -
Uses of RegistryEntry in net.minecraft.item
Fields in net.minecraft.item declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<SoundEvent>
Instrument.soundEvent
The field for thesoundEvent
record component.Methods in net.minecraft.item that return RegistryEntryModifier and TypeMethodDescriptionItemStack.getRegistryEntry()
Instrument.soundEvent()
Returns the value of thesoundEvent
record component.Methods in net.minecraft.item that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate Optional<? extends RegistryEntry<Instrument>>
GoatHornItem.getInstrument
(ItemStack stack) Methods in net.minecraft.item with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic ItemStack
GoatHornItem.getStackForInstrument
(Item item, RegistryEntry<Instrument> instrument) boolean
ItemStack.itemMatches
(RegistryEntry<Item> itemEntry) Returns whether the item's registry entry matchesitemEntry
.private static void
GoatHornItem.setInstrument
(ItemStack stack, RegistryEntry<Instrument> instrument) Method parameters in net.minecraft.item with type arguments of type RegistryEntryModifier and TypeMethodDescriptionboolean
ItemStack.itemMatches
(Predicate<RegistryEntry<Item>> predicate) Returns whether the item's registry entry passes thepredicate
.Constructors in net.minecraft.item with parameters of type RegistryEntryModifierConstructorDescriptionInstrument
(RegistryEntry<SoundEvent> registryEntry, int int2, float float2) ItemStack
(RegistryEntry<Item> entry) ItemStack
(RegistryEntry<Item> itemEntry, int count) -
Uses of RegistryEntry in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> SetBannerPatternFunction.Builder.patterns
(package private) final List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> SetBannerPatternFunction.patterns
Methods in net.minecraft.loot.function with parameters of type RegistryEntryModifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.pattern
(RegistryEntry<BannerPattern> pattern, DyeColor color) Constructor parameters in net.minecraft.loot.function with type arguments of type RegistryEntryModifierConstructorDescription(package private)
SetBannerPatternFunction
(LootCondition[] conditions, List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor>> patterns, boolean append) -
Uses of RegistryEntry in net.minecraft.network
Methods in net.minecraft.network that return RegistryEntryModifier and TypeMethodDescription<T> RegistryEntry<T>
PacketByteBuf.readRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, PacketByteBuf.PacketReader<T> reader) Methods in net.minecraft.network with parameters of type RegistryEntryModifier and TypeMethodDescription<T> void
PacketByteBuf.writeRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, RegistryEntry<T> entry, PacketByteBuf.PacketWriter<T> writer) Method parameters in net.minecraft.network with type arguments of type RegistryEntryModifier and TypeMethodDescription<T> RegistryEntry<T>
PacketByteBuf.readRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, PacketByteBuf.PacketReader<T> reader) <T> void
PacketByteBuf.writeRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, RegistryEntry<T> entry, PacketByteBuf.PacketWriter<T> writer) -
Uses of RegistryEntry in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<SoundEvent>
PlaySoundFromEntityS2CPacket.sound
private final RegistryEntry<SoundEvent>
PlaySoundS2CPacket.sound
Methods in net.minecraft.network.packet.s2c.play that return RegistryEntryModifier and TypeMethodDescriptionPlaySoundFromEntityS2CPacket.getSound()
PlaySoundS2CPacket.getSound()
Constructors in net.minecraft.network.packet.s2c.play with parameters of type RegistryEntryModifierConstructorDescriptionPlaySoundFromEntityS2CPacket
(RegistryEntry<SoundEvent> sound, SoundCategory category, Entity entity, float volume, float pitch, long seed) PlaySoundS2CPacket
(RegistryEntry<SoundEvent> sound, SoundCategory category, double x, double y, double z, float volume, float pitch, long seed) -
Uses of RegistryEntry in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final VariantPredicates<RegistryEntry<PaintingVariant>>
TypeSpecificPredicate.Deserializers.PAINTING
-
Uses of RegistryEntry in net.minecraft.registry
Methods in net.minecraft.registry that return RegistryEntryModifier and TypeMethodDescriptionMutableRegistry.set
(int rawId, RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) Methods in net.minecraft.registry that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptiondefault com.mojang.serialization.Codec<RegistryEntry<T>>
Registry.createEntryCodec()
Returns the codec for serializing the registry entry ofT
.default IndexedIterable<RegistryEntry<T>>
Registry.getIndexedEntries()
default Iterable<RegistryEntry<T>>
Registry.iterateEntries
(TagKey<T> tag) Returns an iterable of values that are assignedtag
, or an empty iterable if the tag is not known to the registry.Method parameters in net.minecraft.registry with type arguments of type RegistryEntryModifier and TypeMethodDescriptionvoid
Registry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) void
SimpleRegistry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) -
Uses of RegistryEntry in net.minecraft.registry.entry
Classes in net.minecraft.registry.entry that implement RegistryEntryModifier and TypeClassDescriptionstatic final record
A direct registry entry holds the value directly.static class
A reference registry entry holds the value by reference.Fields in net.minecraft.registry.entry with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<List<RegistryEntry<E>>>
RegistryEntryListCodec.directEntryListCodec
private final List<RegistryEntry<T>>
RegistryEntryList.Direct.entries
private List<RegistryEntry<T>>
RegistryEntryList.Named.entries
private final com.mojang.serialization.Codec<RegistryEntry<E>>
RegistryEntryListCodec.entryCodec
private final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>,
List<RegistryEntry<E>>>> RegistryEntryListCodec.entryListStorageCodec
private Set<RegistryEntry<T>>
RegistryEntryList.Direct.entrySet
Methods in net.minecraft.registry.entry that return RegistryEntryModifier and TypeMethodDescriptionRegistryEntryList.get
(int index) Returns the registry entry atindex
.RegistryEntryList.ListBacked.get
(int index) Returns the registry entry atindex
.static <T> RegistryEntry<T>
RegistryEntry.of
(T value) Returns a new direct registry entry ofvalue
.Methods in net.minecraft.registry.entry that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate static <E> com.mojang.serialization.Codec<List<RegistryEntry<E>>>
RegistryEntryListCodec.createDirectEntryListCodec
(com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<RegistryEntry<E>,
T>> RegistryElementCodec.decode
(com.mojang.serialization.DynamicOps<T> ops, T input) <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<RegistryEntry<E>,
T>> RegistryFixedCodec.decode
(com.mojang.serialization.DynamicOps<T> ops, T input) protected List<RegistryEntry<T>>
RegistryEntryList.Direct.getEntries()
protected abstract List<RegistryEntry<T>>
RegistryEntryList.ListBacked.getEntries()
protected List<RegistryEntry<T>>
RegistryEntryList.Named.getEntries()
Returns a random entry of the list, or an empty optional if this list is empty.Returns a random entry of the list, or an empty optional if this list is empty.com.mojang.datafixers.util.Either<TagKey<T>,
List<RegistryEntry<T>>> RegistryEntryList.Direct.getStorage()
Returns the object that identifies this registry entry list.com.mojang.datafixers.util.Either<TagKey<T>,
List<RegistryEntry<T>>> RegistryEntryList.getStorage()
Returns the object that identifies this registry entry list.com.mojang.datafixers.util.Either<TagKey<T>,
List<RegistryEntry<T>>> RegistryEntryList.Named.getStorage()
Returns the object that identifies this registry entry list.RegistryEntryList.ListBacked.iterator()
RegistryEntryList.ListBacked.spliterator()
RegistryEntryList.ListBacked.stream()
Returns a stream of registry entries in this list.RegistryEntryList.stream()
Returns a stream of registry entries in this list.Methods in net.minecraft.registry.entry with parameters of type RegistryEntryModifier and TypeMethodDescriptionboolean
RegistryEntryList.contains
(RegistryEntry<T> entry) Returns whetherentry
is in this list.boolean
RegistryEntryList.Direct.contains
(RegistryEntry<T> entry) Returns whetherentry
is in this list.boolean
RegistryEntryList.Named.contains
(RegistryEntry<T> entry) Returns whetherentry
is in this list.<T> com.mojang.serialization.DataResult<T>
RegistryElementCodec.encode
(RegistryEntry<E> registryEntry, com.mojang.serialization.DynamicOps<T> dynamicOps, T t) <T> com.mojang.serialization.DataResult<T>
RegistryFixedCodec.encode
(RegistryEntry<E> registryEntry, com.mojang.serialization.DynamicOps<T> dynamicOps, T t) static <T> RegistryEntryList.Direct<T>
RegistryEntryList.of
(RegistryEntry<T>[] entries) Returns a new direct list ofentries
.Method parameters in net.minecraft.registry.entry with type arguments of type RegistryEntryModifier and TypeMethodDescription(package private) void
RegistryEntryList.Named.copyOf
(List<RegistryEntry<T>> entries) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>>
RegistryEntryListCodec.create
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) private static <E> com.mojang.serialization.Codec<List<RegistryEntry<E>>>
RegistryEntryListCodec.createDirectEntryListCodec
(com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) static <E,
T> RegistryEntryList.Direct<T> RegistryEntryList.of
(Function<E, RegistryEntry<T>> mapper, E[] values) Returns a new direct list ofvalues
converted to a registry entry withmapper
.static <E,
T> RegistryEntryList.Direct<T> RegistryEntryList.of
(Function<E, RegistryEntry<T>> mapper, List<E> values) Returns a new direct list ofvalues
converted to a registry entry withmapper
.static <T> RegistryEntryList.Direct<T>
RegistryEntryList.of
(List<? extends RegistryEntry<T>> entries) Returns a new direct list ofentries
.Constructor parameters in net.minecraft.registry.entry with type arguments of type RegistryEntryModifierConstructorDescription(package private)
Direct
(List<RegistryEntry<T>> entries) private
RegistryEntryListCodec
(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) -
Uses of RegistryEntry in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final Map<Identifier,
Collection<RegistryEntry<T>>> TagManagerLoader.RegistryTags.tags
The field for thetags
record component.Methods in net.minecraft.registry.tag that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionTagManagerLoader.RegistryTags.tags()
Returns the value of thetags
record component.Method parameters in net.minecraft.registry.tag with type arguments of type RegistryEntryModifier and TypeMethodDescriptionvoid
Constructor parameters in net.minecraft.registry.tag with type arguments of type RegistryEntryModifierConstructorDescriptionRegistryTags
(RegistryKey<? extends Registry<T>> registryKey, Map<Identifier, Collection<RegistryEntry<T>>> map) -
Uses of RegistryEntry in net.minecraft.screen
Fields in net.minecraft.screen with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate List<RegistryEntry<BannerPattern>>
LoomScreenHandler.bannerPatterns
Methods in net.minecraft.screen that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionLoomScreenHandler.getBannerPatterns()
private List<RegistryEntry<BannerPattern>>
LoomScreenHandler.getPatternsFor
(ItemStack stack) Methods in net.minecraft.screen with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate void
LoomScreenHandler.updateOutputSlot
(RegistryEntry<BannerPattern> pattern) -
Uses of RegistryEntry in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate static BiomeSupplier
FillBiomeCommand.createBiomeSupplier
(MutableInt counter, Chunk chunk, BlockBox box, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static int
EnchantCommand.execute
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<Enchantment> enchantment, int level) private static int
AttributeCommand.executeBaseValueGet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static int
AttributeCommand.executeBaseValueSet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double value) private static int
EffectCommand.executeClear
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) private static int
EffectCommand.executeGive
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable Integer seconds, int amplifier, boolean showParticles) private static int
AttributeCommand.executeModifierAdd
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid, String name, double value, EntityAttributeModifier.Operation operation) private static int
AttributeCommand.executeModifierRemove
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid) private static int
AttributeCommand.executeModifierValueGet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid, double multiplier) static int
PlaceCommand.executePlaceJigsaw
(ServerCommandSource source, RegistryEntry<StructurePool> structurePool, Identifier id, int maxDepth, BlockPos pos) private static int
AttributeCommand.executeValueGet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static EntityAttributeInstance
AttributeCommand.getAttributeInstance
(Entity entity, RegistryEntry<EntityAttribute> attribute) private static LivingEntity
AttributeCommand.getLivingEntityWithAttribute
(Entity entity, RegistryEntry<EntityAttribute> attribute) private static Text
AttributeCommand.getName
(RegistryEntry<EntityAttribute> attribute) Method parameters in net.minecraft.server.command with type arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate static BiomeSupplier
FillBiomeCommand.createBiomeSupplier
(MutableInt counter, Chunk chunk, BlockBox box, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static int
FillBiomeCommand.execute
(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static String
LocateCommand.getKeyString
(com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result) static int
LocateCommand.sendCoordinates
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) static int
LocateCommand.sendCoordinates
(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken) private static int
LocateCommand.sendCoordinates
(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken) -
Uses of RegistryEntry in net.minecraft.server.world
Methods in net.minecraft.server.world that return RegistryEntryModifier and TypeMethodDescriptionServerWorld.getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) Methods in net.minecraft.server.world that return types with arguments of type RegistryEntryModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> ServerWorld.locateBiome
(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) Methods in net.minecraft.server.world with parameters of type RegistryEntryModifier and TypeMethodDescriptionvoid
ServerWorld.playSound
(@Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) void
ServerWorld.playSoundFromEntity
(@Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Method parameters in net.minecraft.server.world with type arguments of type RegistryEntryModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> ServerWorld.locateBiome
(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) -
Uses of RegistryEntry in net.minecraft.sound
Fields in net.minecraft.sound declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<SoundEvent>
BiomeAdditionsSound.sound
private final RegistryEntry<SoundEvent>
BiomeMoodSound.sound
private final RegistryEntry<SoundEvent>
MusicSound.sound
Fields in net.minecraft.sound with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<SoundEvent>>
SoundEvent.ENTRY_CODEC
Methods in net.minecraft.sound that return RegistryEntryModifier and TypeMethodDescriptionBiomeAdditionsSound.getSound()
BiomeMoodSound.getSound()
MusicSound.getSound()
private static RegistryEntry<SoundEvent>
SoundEvents.register
(Identifier id, Identifier soundId, float distanceToTravel) Constructors in net.minecraft.sound with parameters of type RegistryEntryModifierConstructorDescriptionBiomeAdditionsSound
(RegistryEntry<SoundEvent> sound, double chance) BiomeMoodSound
(RegistryEntry<SoundEvent> sound, int cultivationTicks, int spawnRange, double extraDistance) MusicSound
(RegistryEntry<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic) -
Uses of RegistryEntry in net.minecraft.structure
Fields in net.minecraft.structure declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<Structure>
StructureSet.WeightedEntry.structure
The field for thestructure
record component.Fields in net.minecraft.structure with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<StructureSet>>
StructureSet.REGISTRY_CODEC
private final Predicate<RegistryEntry<Biome>>
StructureGeneratorFactory.Context.validBiome
The field for thevalidBiome
record component.Methods in net.minecraft.structure that return RegistryEntryModifier and TypeMethodDescriptionStructureSet.WeightedEntry.structure()
Returns the value of thestructure
record component.Methods in net.minecraft.structure that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionStructureGeneratorFactory.Context.validBiome()
Returns the value of thevalidBiome
record component.Methods in net.minecraft.structure with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure) static StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure, int weight) Constructors in net.minecraft.structure with parameters of type RegistryEntryModifierConstructorDescriptionStructureSet
(RegistryEntry<Structure> structure, StructurePlacement placement) WeightedEntry
(RegistryEntry<Structure> registryEntry, int int2) Constructor parameters in net.minecraft.structure with type arguments of type RegistryEntryModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate, StructureTemplateManager structureTemplateManager, DynamicRegistryManager dynamicRegistryManager) -
Uses of RegistryEntry in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as RegistryEntryModifier and TypeFieldDescriptionprivate static final RegistryEntry<StructureProcessorList>
StructurePoolElement.EMPTY_PROCESSORS
private final RegistryEntry<StructurePool>
StructurePool.fallback
private final RegistryEntry<PlacedFeature>
FeaturePoolElement.feature
protected final RegistryEntry<StructureProcessorList>
SinglePoolElement.processors
Fields in net.minecraft.structure.pool with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate static final MutableObject<com.mojang.serialization.Codec<RegistryEntry<StructurePool>>>
StructurePool.FALLBACK
static final com.mojang.serialization.Codec<RegistryEntry<StructurePool>>
StructurePool.REGISTRY_CODEC
Methods in net.minecraft.structure.pool that return RegistryEntryMethods in net.minecraft.structure.pool that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,RegistryEntry<StructureProcessorList>> SinglePoolElement.processorsGetter()
Methods in net.minecraft.structure.pool with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic boolean
StructurePoolBasedGenerator.generate
(ServerWorld world, RegistryEntry<StructurePool> structurePool, Identifier id, int size, BlockPos pos, boolean keepJigsaws) static Optional<Structure.StructurePosition>
StructurePoolBasedGenerator.generate
(Structure.Context context, RegistryEntry<StructurePool> structurePool, Optional<Identifier> id, int size, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter) StructurePoolElement.ofFeature
(RegistryEntry<PlacedFeature> placedFeatureEntry) StructurePoolElement.ofProcessedLegacySingle
(String id, RegistryEntry<StructureProcessorList> processorListEntry) StructurePoolElement.ofProcessedSingle
(String id, RegistryEntry<StructureProcessorList> processorListEntry) Constructors in net.minecraft.structure.pool with parameters of type RegistryEntryModifierConstructorDescriptionprotected
FeaturePoolElement
(RegistryEntry<PlacedFeature> feature, StructurePool.Projection projection) protected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection) StructurePool
(RegistryEntry<StructurePool> fallback, List<com.mojang.datafixers.util.Pair<Function<StructurePool.Projection, ? extends StructurePoolElement>, Integer>> elementCountsByGetters, StructurePool.Projection projection) StructurePool
(RegistryEntry<StructurePool> fallback, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> elementCounts) -
Uses of RegistryEntry in net.minecraft.structure.processor
Fields in net.minecraft.structure.processor with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<StructureProcessorList>>
StructureProcessorType.REGISTRY_CODEC
-
Uses of RegistryEntry in net.minecraft.util.math.noise
Fields in net.minecraft.util.math.noise with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>>
DoublePerlinNoiseSampler.NoiseParameters.REGISTRY_ENTRY_CODEC
-
Uses of RegistryEntry in net.minecraft.village
Fields in net.minecraft.village with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final Predicate<RegistryEntry<PointOfInterestType>>
VillagerProfession.acquirableWorkstation
The field for theacquirableWorkstation
record component.private final Predicate<RegistryEntry<PointOfInterestType>>
VillagerProfession.heldWorkstation
The field for theheldWorkstation
record component.static final Predicate<RegistryEntry<PointOfInterestType>>
VillagerProfession.IS_ACQUIRABLE_JOB_SITE
Methods in net.minecraft.village that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionVillagerProfession.acquirableWorkstation()
Returns the value of theacquirableWorkstation
record component.VillagerProfession.heldWorkstation()
Returns the value of theheldWorkstation
record component.Methods in net.minecraft.village with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic VillagerType
VillagerType.forBiome
(RegistryEntry<Biome> biomeEntry) Method parameters in net.minecraft.village with type arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.register
(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) Constructor parameters in net.minecraft.village with type arguments of type RegistryEntryModifierConstructorDescriptionVillagerProfession
(String id, Predicate<RegistryEntry<PointOfInterestType>> predicate, Predicate<RegistryEntry<PointOfInterestType>> predicate2, ImmutableSet<Item> immutableSet, ImmutableSet<Block> immutableSet2, @Nullable SoundEvent soundEvent) -
Uses of RegistryEntry in net.minecraft.village.raid
Methods in net.minecraft.village.raid with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic String
RaidManager.nameFor
(RegistryEntry<DimensionType> dimensionTypeEntry) -
Uses of RegistryEntry in net.minecraft.world
Fields in net.minecraft.world declared as RegistryEntryMethods in net.minecraft.world that return RegistryEntryModifier and TypeMethodDescriptiondefault RegistryEntry<Biome>
default RegistryEntry<Biome>
WorldView.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) World.getDimensionEntry()
ChunkRegion.getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) WorldView.getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) Methods in net.minecraft.world that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>>
ChunkSerializer.createCodec
(Registry<Biome> biomeRegistry) Methods in net.minecraft.world with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate static Pool<SpawnSettings.SpawnEntry>
SpawnHelper.getSpawnEntries
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) abstract void
World.playSound
(@Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) abstract void
World.playSoundFromEntity
(@Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) static void
SpawnHelper.populateEntities
(ServerWorldAccess world, RegistryEntry<Biome> biomeEntry, ChunkPos chunkPos, Random random) Constructors in net.minecraft.world with parameters of type RegistryEntryModifierConstructorDescriptionprotected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimension, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed, int maxChainedNeighborUpdates) -
Uses of RegistryEntry in net.minecraft.world.biome
Fields in net.minecraft.world.biome with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final Map<GenerationStep.Carver,
List<RegistryEntry<ConfiguredCarver<?>>>> GenerationSettings.Builder.carverStepsToCarvers
private final List<List<RegistryEntry<PlacedFeature>>>
GenerationSettings.Builder.indexedFeaturesList
private Optional<RegistryEntry<SoundEvent>>
BiomeEffects.Builder.loopSound
private final Optional<RegistryEntry<SoundEvent>>
BiomeEffects.loopSound
static final com.mojang.serialization.Codec<RegistryEntry<Biome>>
Biome.REGISTRY_CODEC
Methods in net.minecraft.world.biome that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionGenerationSettings.getCarversForStep
(GenerationStep.Carver carverStep) Biome.getLoopSound()
BiomeEffects.getLoopSound()
Returns the loop sound.Methods in net.minecraft.world.biome with parameters of type RegistryEntryModifier and TypeMethodDescriptionGenerationSettings.Builder.addFeature
(int ordinal, RegistryEntry<PlacedFeature> featureEntry) GenerationSettings.Builder.carver
(GenerationStep.Carver carverStep, RegistryEntry<ConfiguredCarver<?>> carverEntry) GenerationSettings.Builder.feature
(GenerationStep.Feature featureStep, RegistryEntry<PlacedFeature> featureEntry) BiomeEffects.Builder.loopSound
(RegistryEntry<SoundEvent> loopSound) -
Uses of RegistryEntry in net.minecraft.world.biome.source
Fields in net.minecraft.world.biome.source declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<Biome>
TheEndBiomeSource.barrensBiome
private final RegistryEntry<Biome>
FixedBiomeSource.biome
private final RegistryEntry<Biome>
TheEndBiomeSource.centerBiome
private final RegistryEntry<Biome>
TheEndBiomeSource.highlandsBiome
private final RegistryEntry<Biome>
TheEndBiomeSource.midlandsBiome
private final RegistryEntry<Biome>
TheEndBiomeSource.smallIslandsBiome
Fields in net.minecraft.world.biome.source with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final MultiNoiseUtil.Entries<RegistryEntry<Biome>>
MultiNoiseBiomeSource.biomeEntries
private final Set<RegistryEntry<Biome>>
BiomeSource.biomes
private final Function<RegistryEntryLookup<Biome>,
MultiNoiseUtil.Entries<RegistryEntry<Biome>>> MultiNoiseBiomeSource.Preset.biomeSourceFunction
Methods in net.minecraft.world.biome.source that return RegistryEntryModifier and TypeMethodDescriptionabstract RegistryEntry<Biome>
BiomeSource.getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) BiomeSupplier.getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) CheckerboardBiomeSource.getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) FixedBiomeSource.getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) MultiNoiseBiomeSource.getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) TheEndBiomeSource.getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) MultiNoiseBiomeSource.getBiomeAtPoint
(MultiNoiseUtil.NoiseValuePoint point) BiomeAccess.getBiomeForNoiseGen
(double x, double y, double z) BiomeAccess.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) BiomeAccess.getBiomeForNoiseGen
(BlockPos pos) BiomeAccess.Storage.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) FixedBiomeSource.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) Methods in net.minecraft.world.biome.source that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionBiomeSource.getBiomes()
BiomeSource.getBiomesInArea
(int x, int y, int z, int radius, MultiNoiseUtil.MultiNoiseSampler sampler) FixedBiomeSource.getBiomesInArea
(int x, int y, int z, int radius, MultiNoiseUtil.MultiNoiseSampler sampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, Predicate<RegistryEntry<Biome>> predicate, Random random, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) Method parameters in net.minecraft.world.biome.source with type arguments of type RegistryEntryModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, Predicate<RegistryEntry<Biome>> predicate, Random random, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) Constructors in net.minecraft.world.biome.source with parameters of type RegistryEntryModifierConstructorDescriptionFixedBiomeSource
(RegistryEntry<Biome> biome) private
TheEndBiomeSource
(RegistryEntry<Biome> centerBiome, RegistryEntry<Biome> highlandsBiome, RegistryEntry<Biome> midlandsBiome, RegistryEntry<Biome> smallIslandsBiome, RegistryEntry<Biome> barrensBiome) Constructor parameters in net.minecraft.world.biome.source with type arguments of type RegistryEntryModifierConstructorDescriptionprotected
BiomeSource
(List<RegistryEntry<Biome>> biomes) protected
BiomeSource
(Stream<RegistryEntry<Biome>> biomeStream) private
(package private)
MultiNoiseBiomeSource
(MultiNoiseUtil.Entries<RegistryEntry<Biome>> biomeEntries, Optional<MultiNoiseBiomeSource.Instance> instance) Preset
(Identifier id, Function<RegistryEntryLookup<Biome>, MultiNoiseUtil.Entries<RegistryEntry<Biome>>> biomeSourceFunction) -
Uses of RegistryEntry in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk declared as RegistryEntryFields in net.minecraft.world.chunk with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate ReadableContainer<RegistryEntry<Biome>>
ChunkSection.biomeContainer
private final Supplier<RegistryEntry<Biome>>
ChunkCache.plainsEntryGetter
Methods in net.minecraft.world.chunk that return RegistryEntryModifier and TypeMethodDescriptionChunkSection.getBiome
(int x, int y, int z) Chunk.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) EmptyChunk.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) ProtoChunk.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) ReadOnlyChunk.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) Methods in net.minecraft.world.chunk that return types with arguments of type RegistryEntryConstructors in net.minecraft.world.chunk with parameters of type RegistryEntryModifierConstructorDescriptionEmptyChunk
(World world, ChunkPos pos, RegistryEntry<Biome> biomeEntry) Constructor parameters in net.minecraft.world.chunk with type arguments of type RegistryEntryModifierConstructorDescriptionChunkSection
(int chunkPos, PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer) -
Uses of RegistryEntry in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<DimensionType>
DimensionOptions.dimensionTypeEntry
The field for thedimensionTypeEntry
record component.Fields in net.minecraft.world.dimension with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<DimensionType>>
DimensionType.REGISTRY_CODEC
Methods in net.minecraft.world.dimension that return RegistryEntryModifier and TypeMethodDescriptionDimensionOptions.dimensionTypeEntry()
Returns the value of thedimensionTypeEntry
record component.Methods in net.minecraft.world.dimension with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) Constructors in net.minecraft.world.dimension with parameters of type RegistryEntryModifierConstructorDescriptionDimensionOptions
(RegistryEntry<DimensionType> dimensionTypeEntry, ChunkGenerator chunkGenerator) Creates an instance of aDimensionOptions
record class. -
Uses of RegistryEntry in net.minecraft.world.gen
Fields in net.minecraft.world.gen declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<Item>
FlatLevelGeneratorPreset.displayItem
The field for thedisplayItem
record component.private final RegistryEntry<DimensionType>
WorldPresets.Registrar.overworldDimensionType
Fields in net.minecraft.world.gen with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<FlatLevelGeneratorPreset>>
FlatLevelGeneratorPreset.ENTRY_CODEC
static final com.mojang.serialization.Codec<RegistryEntry<WorldPreset>>
WorldPreset.ENTRY_CODEC
Methods in net.minecraft.world.gen that return RegistryEntryModifier and TypeMethodDescriptionFlatLevelGeneratorPreset.displayItem()
Returns the value of thedisplayItem
record component.Methods in net.minecraft.world.gen with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate DimensionOptions
WorldPresets.Registrar.createOverworldOptions
(BiomeSource biomeSource, RegistryEntry<ChunkGeneratorSettings> chunkGeneratorSettings) Constructors in net.minecraft.world.gen with parameters of type RegistryEntryModifierConstructorDescriptionFlatLevelGeneratorPreset
(RegistryEntry<Item> registryEntry, FlatChunkGeneratorConfig flatChunkGeneratorConfig) -
Uses of RegistryEntry in net.minecraft.world.gen.carver
Fields in net.minecraft.world.gen.carver with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<ConfiguredCarver<?>>>
ConfiguredCarver.REGISTRY_CODEC
Method parameters in net.minecraft.world.gen.carver with type arguments of type RegistryEntryModifier and TypeMethodDescriptionCarverContext.applyMaterialRule
(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid) Deprecated.abstract boolean
Carver.carve
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected boolean
Carver.carveAtPoint
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, CarvingMask mask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected boolean
NetherCaveCarver.carveAtPoint
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, CarvingMask carvingMask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected void
CaveCarver.carveCave
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate) private void
RavineCarver.carveRavine
(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask) protected boolean
Carver.carveRegion
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, double double5, double double6, CarvingMask mask, Carver.SkipPredicate skipPredicate) protected void
CaveCarver.carveTunnels
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate) -
Uses of RegistryEntry in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<Biome>
FlatChunkGeneratorConfig.biome
private final RegistryEntry<ChunkGeneratorSettings>
NoiseChunkGenerator.settings
Fields in net.minecraft.world.gen.chunk with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final List<List<RegistryEntry<Biome>>>
BlendingData.biomes
private final List<RegistryEntry<PlacedFeature>>
FlatChunkGeneratorConfig.features
private final Function<RegistryEntry<Biome>,
GenerationSettings> ChunkGenerator.generationSettingsGetter
static final com.mojang.serialization.Codec<RegistryEntry<ChunkGeneratorSettings>>
ChunkGeneratorSettings.REGISTRY_CODEC
Methods in net.minecraft.world.gen.chunk that return RegistryEntryModifier and TypeMethodDescriptionprivate @Nullable RegistryEntry<Biome>
Blender.blendBiome
(int x, int y, int z) FlatChunkGeneratorConfig.getBiome()
private static RegistryEntry<Biome>
FlatChunkGeneratorConfig.getBiome
(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback) static RegistryEntry<Biome>
FlatChunkGeneratorConfig.getPlains
(RegistryEntryLookup<Biome> biomeLookup) NoiseChunkGenerator.getSettings()
Methods in net.minecraft.world.gen.chunk that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionstatic List<RegistryEntry<PlacedFeature>>
FlatChunkGeneratorConfig.getLavaLakes
(RegistryEntryLookup<PlacedFeature> featureLookup) private List<RegistryEntry<Biome>>
BlendingData.getVerticalBiomeSections
(Chunk chunk, int chunkBlockX, int chunkBlockZ) private @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure
(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateRandomSpreadStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.Methods in net.minecraft.world.gen.chunk with parameters of type RegistryEntryModifier and TypeMethodDescriptionvoid
BlendingData.BiomeConsumer.consume
(int biomeX, int biomeZ, RegistryEntry<Biome> biome) FlatChunkGeneratorConfig.createGenerationSettings
(RegistryEntry<Biome> biomeEntry) private static RegistryEntry<Biome>
FlatChunkGeneratorConfig.getBiome
(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback) ChunkGenerator.getEntitySpawnList
(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) ChunkGenerator.getGenerationSettings
(RegistryEntry<Biome> biomeEntry) Deprecated.FlatChunkGeneratorConfig.with
(List<FlatChunkGeneratorLayer> layers, Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome) Method parameters in net.minecraft.world.gen.chunk with type arguments of type RegistryEntryModifier and TypeMethodDescriptionprivate static RegistryEntry<Biome>
FlatChunkGeneratorConfig.getBiome
(Optional<? extends RegistryEntry<Biome>> biome, RegistryEntry<Biome> fallback) private @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure
(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateRandomSpreadStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) Constructors in net.minecraft.world.gen.chunk with parameters of type RegistryEntryModifierConstructorDescriptionprivate
FlatChunkGeneratorConfig
(Optional<RegistryEntryList<StructureSet>> structureOverrides, List<FlatChunkGeneratorLayer> layers, boolean lakes, boolean features, Optional<RegistryEntry<Biome>> biome, RegistryEntry.Reference<Biome> fallback, RegistryEntry<PlacedFeature> undergroundLavaLakeFeature, RegistryEntry<PlacedFeature> surfaceLavaLakeFeature) FlatChunkGeneratorConfig
(Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome, List<RegistryEntry<PlacedFeature>> features) NoiseChunkGenerator
(BiomeSource biomeSource, RegistryEntry<ChunkGeneratorSettings> settings) Constructor parameters in net.minecraft.world.gen.chunk with type arguments of type RegistryEntryModifierConstructorDescriptionChunkGenerator
(BiomeSource biomeSource, Function<RegistryEntry<Biome>, GenerationSettings> generationSettingsGetter) FlatChunkGeneratorConfig
(Optional<RegistryEntryList<StructureSet>> structureOverrides, RegistryEntry<Biome> biome, List<RegistryEntry<PlacedFeature>> features) -
Uses of RegistryEntry in net.minecraft.world.gen.chunk.placement
Fields in net.minecraft.world.gen.chunk.placement declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<StructureSet>
StructurePlacement.ExclusionZone.otherSet
Deprecated.The field for theotherSet
record component.Fields in net.minecraft.world.gen.chunk.placement with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final List<RegistryEntry<StructureSet>>
StructurePlacementCalculator.structureSets
Methods in net.minecraft.world.gen.chunk.placement that return RegistryEntryModifier and TypeMethodDescriptionStructurePlacement.ExclusionZone.otherSet()
Deprecated.Returns the value of theotherSet
record component.Methods in net.minecraft.world.gen.chunk.placement that return types with arguments of type RegistryEntryMethods in net.minecraft.world.gen.chunk.placement with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate CompletableFuture<List<ChunkPos>>
StructurePlacementCalculator.calculateConcentricsRingPlacementPos
(RegistryEntry<StructureSet> structureSetEntry, ConcentricRingsStructurePlacement placement) boolean
StructurePlacementCalculator.canGenerate
(RegistryEntry<StructureSet> structureSetEntry, int centerChunkX, int centerChunkZ, int chunkCount) StructurePlacementCalculator.getPlacements
(RegistryEntry<Structure> structureEntry) Method parameters in net.minecraft.world.gen.chunk.placement with type arguments of type RegistryEntryModifier and TypeMethodDescriptionstatic StructurePlacementCalculator
StructurePlacementCalculator.create
(NoiseConfig noiseConfig, long seed, BiomeSource biomeSource, Stream<RegistryEntry<StructureSet>> structureSets) Constructors in net.minecraft.world.gen.chunk.placement with parameters of type RegistryEntryModifierConstructorDescriptionExclusionZone
(RegistryEntry<StructureSet> registryEntry, int int2) Deprecated.Constructor parameters in net.minecraft.world.gen.chunk.placement with type arguments of type RegistryEntryModifierConstructorDescriptionprivate
StructurePlacementCalculator
(NoiseConfig noiseConfig, BiomeSource biomeSource, long structureSeed, long concentricRingSeed, List<RegistryEntry<StructureSet>> structureSets) -
Uses of RegistryEntry in net.minecraft.world.gen.densityfunction
Fields in net.minecraft.world.gen.densityfunction declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<DensityFunction>
DensityFunctionTypes.RegistryEntryHolder.function
The field for thefunction
record component.private final RegistryEntry<DensityFunction>
DensityFunctionTypes.Spline.DensityFunctionWrapper.function
The field for thefunction
record component.private final RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>
DensityFunction.Noise.noiseData
The field for thenoiseData
record component.Fields in net.minecraft.world.gen.densityfunction with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<DensityFunction>>
DensityFunction.REGISTRY_ENTRY_CODEC
Methods in net.minecraft.world.gen.densityfunction that return RegistryEntryModifier and TypeMethodDescriptionstatic RegistryEntry<? extends DensityFunction>
DensityFunctions.bootstrap
(Registerable<DensityFunction> densityFunctionRegisterable) DensityFunctionTypes.RegistryEntryHolder.function()
Returns the value of thefunction
record component.DensityFunctionTypes.Spline.DensityFunctionWrapper.function()
Returns the value of thefunction
record component.DensityFunction.Noise.noiseData()
Returns the value of thenoiseData
record component.Methods in net.minecraft.world.gen.densityfunction with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic DensityFunction
DensityFunctionTypes.noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
DensityFunctionTypes.noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY) static DensityFunction
DensityFunctionTypes.noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleXz, double scaleY) static DensityFunction
DensityFunctionTypes.noiseInRange
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double min, double max) static DensityFunction
DensityFunctionTypes.noiseInRange
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleY, double min, double max) static DensityFunction
DensityFunctionTypes.noiseInRange
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters, double scaleXz, double scaleY, double min, double max) private static void
DensityFunctions.registerSlopedCheeseFunction
(Registerable<DensityFunction> densityFunctionRegisterable, RegistryEntryLookup<DensityFunction> densityFunctionLookup, DensityFunction jaggedNoise, RegistryEntry<DensityFunction> continents, RegistryEntry<DensityFunction> erosion, RegistryKey<DensityFunction> offsetKey, RegistryKey<DensityFunction> factorKey, RegistryKey<DensityFunction> jaggednessKey, RegistryKey<DensityFunction> depthKey, RegistryKey<DensityFunction> slopedCheeseKey, boolean amplified) Creates and registers thesloped_cheese
density function.static DensityFunction
DensityFunctionTypes.shift
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
DensityFunctionTypes.shiftA
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
DensityFunctionTypes.shiftB
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
DensityFunctionTypes.shiftedNoise
(DensityFunction shiftX, DensityFunction shiftZ, double xzScale, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseParameters) static DensityFunction
DensityFunctionTypes.weirdScaledSampler
(DensityFunction input, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> parameters, DensityFunctionTypes.WeirdScaledSampler.RarityValueMapper mapper) Constructors in net.minecraft.world.gen.densityfunction with parameters of type RegistryEntryModifierConstructorDescriptionDensityFunctionWrapper
(RegistryEntry<DensityFunction> registryEntry) Noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> registryEntry, @Nullable DoublePerlinNoiseSampler doublePerlinNoiseSampler) RegistryEntryHolder
(RegistryEntry<DensityFunction> registryEntry) -
Uses of RegistryEntry in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as RegistryEntryModifier and TypeFieldDescriptionfinal RegistryEntry<PlacedFeature>
RandomFeatureConfig.defaultFeature
private final RegistryEntry<ConfiguredFeature<?,
?>> PlacedFeature.feature
The field for thefeature
record component.final RegistryEntry<PlacedFeature>
RandomFeatureEntry.feature
private final RegistryEntry<PlacedFeature>
RandomPatchFeatureConfig.feature
The field for thefeature
record component.final RegistryEntry<PlacedFeature>
RootSystemFeatureConfig.feature
final RegistryEntry<PlacedFeature>
RandomBooleanFeatureConfig.featureFalse
final RegistryEntry<PlacedFeature>
RandomBooleanFeatureConfig.featureTrue
FossilFeatureConfig.fossilProcessors
FossilFeatureConfig.overlayProcessors
final RegistryEntry<PlacedFeature>
VegetationPatchFeatureConfig.vegetationFeature
Fields in net.minecraft.world.gen.feature with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<ConfiguredFeature<?,
?>>> ConfiguredFeature.REGISTRY_CODEC
static final com.mojang.serialization.Codec<RegistryEntry<PlacedFeature>>
PlacedFeature.REGISTRY_CODEC
Methods in net.minecraft.world.gen.feature that return RegistryEntryModifier and TypeMethodDescriptionprivate static RegistryEntry<PlacedFeature>
UndergroundConfiguredFeatures.createBigDripleafFeature
(Direction direction) static <FC extends FeatureConfig,
F extends Feature<FC>>
RegistryEntry<PlacedFeature>PlacedFeatures.createEntry
(F feature, FC featureConfig) static <FC extends FeatureConfig,
F extends Feature<FC>>
RegistryEntry<PlacedFeature>PlacedFeatures.createEntry
(F feature, FC featureConfig, BlockPredicate predicate) static <FC extends FeatureConfig,
F extends Feature<FC>>
RegistryEntry<PlacedFeature>PlacedFeatures.createEntry
(F feature, FC featureConfig, PlacementModifier[] modifiers) static RegistryEntry<PlacedFeature>
PlacedFeatures.createEntry
(RegistryEntry<ConfiguredFeature<?, ?>> registryEntry, PlacementModifier[] modifiers) private static RegistryEntry<PlacedFeature>
UndergroundConfiguredFeatures.createSmallDripleafFeature()
PlacedFeature.feature()
Returns the value of thefeature
record component.RandomPatchFeatureConfig.feature()
Returns the value of thefeature
record component.Methods in net.minecraft.world.gen.feature with parameters of type RegistryEntryModifier and TypeMethodDescriptionstatic RegistryEntry<PlacedFeature>
PlacedFeatures.createEntry
(RegistryEntry<ConfiguredFeature<?, ?>> registryEntry, PlacementModifier[] modifiers) static RandomPatchFeatureConfig
ConfiguredFeatures.createRandomPatchFeatureConfig
(int tries, RegistryEntry<PlacedFeature> feature) static void
PlacedFeatures.register
(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?, ?>> entry, List<PlacementModifier> modifiers) static void
PlacedFeatures.register
(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?, ?>> entry, PlacementModifier[] modifiers) Constructors in net.minecraft.world.gen.feature with parameters of type RegistryEntryModifierConstructorDescriptionFossilFeatureConfig
(List<Identifier> fossilStructures, List<Identifier> overlayStructures, RegistryEntry<StructureProcessorList> fossilProcessors, RegistryEntry<StructureProcessorList> overlayProcessors, int maxEmptyCorners) PlacedFeature
(RegistryEntry<ConfiguredFeature<?, ?>> registryEntry, List<PlacementModifier> placementModifiers) RandomBooleanFeatureConfig
(RegistryEntry<PlacedFeature> featureTrue, RegistryEntry<PlacedFeature> featureFalse) RandomFeatureConfig
(List<RandomFeatureEntry> features, RegistryEntry<PlacedFeature> defaultFeature) RandomFeatureEntry
(RegistryEntry<PlacedFeature> feature, float chance) RandomPatchFeatureConfig
(int int2, int int3, int int4, RegistryEntry<PlacedFeature> registryEntry) RootSystemFeatureConfig
(RegistryEntry<PlacedFeature> feature, int requiredVerticalSpaceForTree, int rootRadius, TagKey<Block> rootReplaceable, BlockStateProvider rootStateProvider, int rootPlacementAttempts, int maxRootColumnHeight, int hangingRootRadius, int hangingRootVerticalSpan, BlockStateProvider hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate predicate) VegetationPatchFeatureConfig
(TagKey<Block> replaceable, BlockStateProvider groundState, RegistryEntry<PlacedFeature> vegetationFeature, VerticalSurfaceType surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider horizontalRadius, float extraEdgeColumnChance) -
Uses of RegistryEntry in net.minecraft.world.gen.structure
Fields in net.minecraft.world.gen.structure declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<StructurePool>
JigsawStructure.startPool
Fields in net.minecraft.world.gen.structure with type parameters of type RegistryEntryModifier and TypeFieldDescriptionprivate final Predicate<RegistryEntry<Biome>>
Structure.Context.biomePredicate
The field for thebiomePredicate
record component.static final com.mojang.serialization.Codec<RegistryEntry<Structure>>
Structure.ENTRY_CODEC
Methods in net.minecraft.world.gen.structure that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionStructure.Context.biomePredicate()
Returns the value of thebiomePredicate
record component.Methods in net.minecraft.world.gen.structure with parameters of type RegistryEntryModifier and TypeMethodDescriptionprivate static boolean
RuinedPortalStructure.isColdAt
(BlockPos pos, RegistryEntry<Biome> biome) Method parameters in net.minecraft.world.gen.structure with type arguments of type RegistryEntryModifier and TypeMethodDescriptionStructure.createStructureStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes) Constructors in net.minecraft.world.gen.structure with parameters of type RegistryEntryModifierConstructorDescriptionJigsawStructure
(Structure.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack) JigsawStructure
(Structure.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Type projectStartToHeightmap) JigsawStructure
(Structure.Config config, RegistryEntry<StructurePool> startPool, Optional<Identifier> startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter) Constructor parameters in net.minecraft.world.gen.structure with type arguments of type RegistryEntryModifierConstructorDescriptionContext
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) Context
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, ChunkRandom chunkRandom, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate) -
Uses of RegistryEntry in net.minecraft.world.gen.surfacebuilder
Fields in net.minecraft.world.gen.surfacebuilder with type parameters of type RegistryEntryModifier and TypeFieldDescription(package private) Supplier<RegistryEntry<Biome>>
MaterialRules.MaterialRuleContext.biomeSupplier
private final Function<BlockPos,
RegistryEntry<Biome>> MaterialRules.MaterialRuleContext.posToBiome
Method parameters in net.minecraft.world.gen.surfacebuilder with type arguments of type RegistryEntryModifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.Constructor parameters in net.minecraft.world.gen.surfacebuilder with type arguments of type RegistryEntryModifierConstructorDescriptionprotected
MaterialRuleContext
(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> registry, HeightContext heightContext) -
Uses of RegistryEntry in net.minecraft.world.poi
Fields in net.minecraft.world.poi declared as RegistryEntryModifier and TypeFieldDescriptionprivate final RegistryEntry<PointOfInterestType>
PointOfInterest.type
Fields in net.minecraft.world.poi with type parameters of type RegistryEntryModifier and TypeFieldDescriptionstatic final Predicate<RegistryEntry<PointOfInterestType>>
PointOfInterestType.NONE
private static final Map<BlockState,
RegistryEntry<PointOfInterestType>> PointOfInterestTypes.POI_STATES_TO_TYPE
private final Map<RegistryEntry<PointOfInterestType>,
Set<PointOfInterest>> PointOfInterestSet.pointsOfInterestByType
Methods in net.minecraft.world.poi that return RegistryEntryMethods in net.minecraft.world.poi that return types with arguments of type RegistryEntryModifier and TypeMethodDescriptionOptional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,
BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,
BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) static Optional<RegistryEntry<PointOfInterestType>>
PointOfInterestTypes.getTypeForState
(BlockState state) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,
BlockPos>> PointOfInterestStorage.getTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Methods in net.minecraft.world.poi with parameters of type RegistryEntryModifier and TypeMethodDescriptionvoid
PointOfInterestSet.add
(BlockPos pos, RegistryEntry<PointOfInterestType> type) void
PointOfInterestStorage.add
(BlockPos pos, RegistryEntry<PointOfInterestType> type) private static void
PointOfInterestTypes.registerStates
(RegistryEntry<PointOfInterestType> poiTypeEntry, Set<BlockState> states) Method parameters in net.minecraft.world.poi with type arguments of type RegistryEntryModifier and TypeMethodDescriptionlong
PointOfInterestStorage.count
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestSet.get
(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInChunk
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInCircle
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getInSquare
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getNearestPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Optional<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,
BlockPos>> PointOfInterestStorage.getNearestTypeAndPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, BiPredicate<RegistryEntry<PointOfInterestType>, BlockPos> biPredicate, BlockPos pos, int radius) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) PointOfInterestStorage.getPosition
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) PointOfInterestStorage.getPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,
BlockPos>> PointOfInterestStorage.getSortedTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) Stream<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>,
BlockPos>> PointOfInterestStorage.getTypesAndPositions
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage.OccupationStatus occupationStatus) private void
PointOfInterestStorage.scanAndPopulate
(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator) boolean
PointOfInterestSet.test
(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) boolean
PointOfInterestStorage.test
(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate) void
PointOfInterestSet.updatePointsOfInterest
(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater) Constructors in net.minecraft.world.poi with parameters of type RegistryEntryModifierConstructorDescriptionprivate
PointOfInterest
(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) PointOfInterest
(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener)