Uses of Interface
net.minecraft.registry.entry.RegistryEntry
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of RegistryEntry in net.minecraft.block
Modifier and TypeMethodDescriptionprivate Optional<? extends RegistryEntry<ConfiguredFeature<?,
?>>> FungusBlock.getFeatureEntry
(WorldView world) Modifier and TypeMethodDescriptionboolean
AbstractBlock.AbstractBlockState.isOf
(RegistryEntry<Block> blockEntry) -
Uses of RegistryEntry in net.minecraft.block.entity
Modifier 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
Modifier 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) Modifier and TypeMethodDescriptionBannerPattern.Patterns.add
(RegistryEntry<BannerPattern> pattern, DyeColor color) Modifier and TypeMethodDescriptionBannerPattern.Patterns.add
(com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>, DyeColor> pattern) -
Uses of RegistryEntry in net.minecraft.block.enums
ModifierConstructorDescriptionprivate
Instrument
(String name, RegistryEntry<SoundEvent> sound, Instrument.Type type) -
Uses of RegistryEntry in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionprivate static String
DebugHud.getBiomeString
(RegistryEntry<Biome> biome) -
Uses of RegistryEntry in net.minecraft.client.gui.screen
Modifier and TypeFieldDescription(package private) RegistryEntry<Biome>
CustomizeBuffetLevelScreen.biome
Modifier and TypeFieldDescriptionprivate final Consumer<RegistryEntry<Biome>>
CustomizeBuffetLevelScreen.onDone
ModifierConstructorDescriptionModifierConstructorDescriptionCustomizeBuffetLevelScreen
(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) -
Uses of RegistryEntry in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate @Nullable List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> LoomScreen.bannerPatterns
Modifier and TypeMethodDescriptionprivate void
LoomScreen.drawBanner
(DrawContext context, RegistryEntry<BannerPattern> pattern, int x, int y) -
Uses of RegistryEntry in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate final @Nullable RegistryEntry<WorldPreset>
WorldCreator.WorldType.preset
The field for thepreset
record component.Modifier and TypeMethodDescription@Nullable RegistryEntry<WorldPreset>
WorldCreator.WorldType.preset()
Returns the value of thepreset
record component.Modifier and TypeMethodDescriptionprivate static Optional<RegistryEntry<WorldPreset>>
WorldCreator.getWorldPreset
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key) Modifier and TypeMethodDescriptionprivate static GeneratorOptionsHolder.RegistryAwareModifier
LevelScreenProvider.createModifier
(RegistryEntry<Biome> biomeEntry) -
Uses of RegistryEntry in net.minecraft.client.render.block.entity
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionClientWorld.getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) Modifier 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) ModifierConstructorDescriptionClientWorld
(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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<Item>
ItemStackArgument.item
private final RegistryEntry<Item>
ItemStringReader.ItemResult.item
The field for theitem
record component.Modifier and TypeFieldDescriptionprivate com.mojang.datafixers.util.Either<RegistryEntry<Item>,
RegistryEntryList<Item>> ItemStringReader.result
Modifier and TypeMethodDescriptionItemStringReader.ItemResult.item()
Returns the value of theitem
record component.Modifier 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) Modifier and TypeMethodDescriptionprivate static ItemPredicateArgumentType.ItemStackPredicateArgument
ItemPredicateArgumentType.getItemStackPredicate
(Predicate<RegistryEntry<Item>> predicate, @Nullable NbtCompound nbt) ModifierConstructorDescriptionItemResult
(RegistryEntry<Item> registryEntry, @Nullable NbtCompound nbtCompound) ItemStackArgument
(RegistryEntry<Item> item, @Nullable NbtCompound nbt) -
Uses of RegistryEntry in net.minecraft.entity
Modifier and TypeMethodDescriptiondouble
LivingEntity.getAttributeBaseValue
(RegistryEntry<EntityAttribute> attribute) double
LivingEntity.getAttributeValue
(RegistryEntry<EntityAttribute> attribute) -
Uses of RegistryEntry in net.minecraft.entity.ai.brain.task
Modifier 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) Modifier 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) static @Nullable Path
FindPointOfInterestTask.findPathToPoi
(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) -
Uses of RegistryEntry in net.minecraft.entity.attribute
Modifier and TypeMethodDescription@Nullable EntityAttributeInstance
AttributeContainer.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.damage
ModifierConstructorDescriptionDamageSource
(RegistryEntry<DamageType> type) DamageSource
(RegistryEntry<DamageType> type, @Nullable Entity attacker) DamageSource
(RegistryEntry<DamageType> type, @Nullable Entity source, @Nullable Entity attacker) private
DamageSource
(RegistryEntry<DamageType> type, @Nullable Entity source, @Nullable Entity attacker, @Nullable Vec3d position) DamageSource
(RegistryEntry<DamageType> type, Vec3d position) -
Uses of RegistryEntry in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic final TrackedDataHandler<RegistryEntry<PaintingVariant>>
TrackedDataHandlerRegistry.PAINTING_VARIANT
-
Uses of RegistryEntry in net.minecraft.entity.decoration.painting
Modifier and TypeFieldDescriptionprivate static final TrackedData<RegistryEntry<PaintingVariant>>
PaintingEntity.VARIANT
Modifier and TypeMethodDescriptionprivate static RegistryEntry<PaintingVariant>
PaintingEntity.getDefaultVariant()
PaintingEntity.getVariant()
Modifier and TypeMethodDescriptionstatic Optional<RegistryEntry<PaintingVariant>>
PaintingEntity.readVariantFromNbt
(NbtCompound nbt) Modifier and TypeMethodDescriptionprivate static int
PaintingEntity.getSize
(RegistryEntry<PaintingVariant> variant) void
PaintingEntity.setVariant
(RegistryEntry<PaintingVariant> variant) static void
PaintingEntity.writeVariantToNbt
(NbtCompound nbt, RegistryEntry<PaintingVariant> variant) ModifierConstructorDescriptionPaintingEntity
(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of RegistryEntry in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,
BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>> VillagerEntity.POINTS_OF_INTEREST
Modifier and TypeMethodDescriptionstatic FoxEntity.Type
FoxEntity.Type.fromBiome
(RegistryEntry<Biome> biome) -
Uses of RegistryEntry in net.minecraft.fluid
-
Uses of RegistryEntry in net.minecraft.item
Modifier and TypeFieldDescriptionprivate final RegistryEntry<SoundEvent>
Instrument.soundEvent
The field for thesoundEvent
record component.Modifier and TypeFieldDescriptionprivate static final Comparator<RegistryEntry<PaintingVariant>>
ItemGroups.PAINTING_VARIANT_COMPARATOR
Modifier and TypeMethodDescriptionItemStack.getRegistryEntry()
Instrument.soundEvent()
Returns the value of thesoundEvent
record component.Modifier and TypeMethodDescriptionprivate Optional<? extends RegistryEntry<Instrument>>
GoatHornItem.getInstrument
(ItemStack stack) Modifier 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) Modifier and TypeMethodDescriptionprivate static void
ItemGroups.addPaintings
(ItemGroup.Entries entries, RegistryWrapper.Impl<PaintingVariant> registryWrapper, Predicate<RegistryEntry<PaintingVariant>> predicate, ItemGroup.StackVisibility visibility) boolean
ItemStack.itemMatches
(Predicate<RegistryEntry<Item>> predicate) Returns whether the item's registry entry passes thepredicate
.ModifierConstructorDescriptionInstrument
(RegistryEntry<SoundEvent> registryEntry, int int2, float float2) ItemStack
(RegistryEntry<Item> entry) ItemStack
(RegistryEntry<Item> itemEntry, int count) -
Uses of RegistryEntry in net.minecraft.item.trim
Modifier and TypeFieldDescriptionprivate final RegistryEntry<Item>
ArmorTrimMaterial.ingredient
The field for theingredient
record component.private final RegistryEntry<ArmorTrimMaterial>
ArmorTrim.material
private final RegistryEntry<ArmorTrimPattern>
ArmorTrim.pattern
private final RegistryEntry<Item>
ArmorTrimPattern.templateItem
The field for thetemplateItem
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<ArmorTrimMaterial>>
ArmorTrimMaterial.ENTRY_CODEC
static final com.mojang.serialization.Codec<RegistryEntry<ArmorTrimPattern>>
ArmorTrimPattern.ENTRY_CODEC
Modifier and TypeMethodDescriptionArmorTrim.getMaterial()
ArmorTrim.getPattern()
ArmorTrimMaterial.ingredient()
Returns the value of theingredient
record component.ArmorTrimPattern.templateItem()
Returns the value of thetemplateItem
record component.Modifier and TypeMethodDescriptionboolean
ArmorTrim.equals
(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material) ArmorTrimPattern.getDescription
(RegistryEntry<ArmorTrimMaterial> material) ModifierConstructorDescriptionArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern) ArmorTrimMaterial
(String string, RegistryEntry<Item> registryEntry, float float2, Map<ArmorMaterials, String> map, Text text) ArmorTrimPattern
(Identifier identifier, RegistryEntry<Item> registryEntry, Text text, boolean bool) -
Uses of RegistryEntry in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final RegistryEntry<Block>
BlockStatePropertyLootCondition.block
The field for theblock
record component.private final RegistryEntry<Block>
BlockStatePropertyLootCondition.Builder.block
private final RegistryEntry<Enchantment>
TableBonusLootCondition.enchantment
The field for theenchantment
record component.Modifier and TypeMethodDescriptionBlockStatePropertyLootCondition.block()
Returns the value of theblock
record component.TableBonusLootCondition.enchantment()
Returns the value of theenchantment
record component.ModifierConstructorDescriptionBlockStatePropertyLootCondition
(RegistryEntry<Block> registryEntry, Optional<StatePredicate> optional) TableBonusLootCondition
(RegistryEntry<Enchantment> registryEntry, List<Float> list) -
Uses of RegistryEntry in net.minecraft.loot.entry
ModifierConstructorDescriptionprivate
ItemEntry
(RegistryEntry<Item> item, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) -
Uses of RegistryEntry in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final RegistryEntry<EntityAttribute>
SetAttributesLootFunction.Attribute.attribute
The field for theattribute
record component.private final RegistryEntry<EntityAttribute>
SetAttributesLootFunction.AttributeBuilder.attribute
private final RegistryEntry<Block>
CopyStateFunction.block
private final RegistryEntry<Block>
CopyStateFunction.Builder.block
private final RegistryEntry<StatusEffect>
SetStewEffectLootFunction.StewEffect.effect
The field for theeffect
record component.private final RegistryEntry<Enchantment>
ApplyBonusLootFunction.enchantment
private final RegistryEntry<Potion>
SetPotionLootFunction.potion
private final RegistryEntry<BlockEntityType<?>>
SetContentsLootFunction.type
private final RegistryEntry<BlockEntityType<?>>
SetLootTableLootFunction.type
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> SetBannerPatternFunction.BANNER_PATTERN_AND_COLOR_CODEC
private final List<RegistryEntry<Enchantment>>
EnchantRandomlyLootFunction.Builder.enchantments
private final ImmutableMap.Builder<RegistryEntry<Enchantment>,
LootNumberProvider> SetEnchantmentsLootFunction.Builder.enchantments
private final Map<RegistryEntry<Enchantment>,
LootNumberProvider> SetEnchantmentsLootFunction.enchantments
private final ImmutableList.Builder<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> SetBannerPatternFunction.Builder.patterns
private final List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> SetBannerPatternFunction.patterns
Modifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.attribute()
Returns the value of theattribute
record component.SetStewEffectLootFunction.StewEffect.effect()
Returns the value of theeffect
record component.Modifier and TypeMethodDescriptionSetAttributesLootFunction.attributeBuilder
(String name, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) SetBannerPatternFunction.Builder.pattern
(RegistryEntry<BannerPattern> pattern, DyeColor color) ModifierConstructorDescriptionprivate
ApplyBonusLootFunction
(List<LootCondition> conditions, RegistryEntry<Enchantment> enchantment, ApplyBonusLootFunction.Formula formula) (package private)
Attribute
(String name, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<EquipmentSlot> list, Optional<UUID> optional) AttributeBuilder
(String name, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) private
CopyStateFunction
(List<LootCondition> conditions, RegistryEntry<Block> block, List<String> properties) (package private)
CopyStateFunction
(List<LootCondition> conditions, RegistryEntry<Block> block, Set<Property<?>> properties) (package private)
SetContentsLootFunction
(List<LootCondition> conditions, RegistryEntry<BlockEntityType<?>> blockEntityType, List<LootPoolEntry> entries) private
SetLootTableLootFunction
(List<LootCondition> conditions, Identifier id, long seed, RegistryEntry<BlockEntityType<?>> blockEntityType) private
SetPotionLootFunction
(List<LootCondition> conditions, RegistryEntry<Potion> potion) (package private)
StewEffect
(RegistryEntry<StatusEffect> registryEntry, LootNumberProvider lootNumberProvider) ModifierConstructorDescription(package private)
SetEnchantmentsLootFunction
(List<LootCondition> conditions, Map<RegistryEntry<Enchantment>, LootNumberProvider> enchantments, boolean add) -
Uses of RegistryEntry in net.minecraft.network
Modifier and TypeMethodDescription<T> RegistryEntry<T>
PacketByteBuf.readRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, PacketByteBuf.PacketReader<T> reader) Modifier and TypeMethodDescription<T> void
PacketByteBuf.writeRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, RegistryEntry<T> entry, PacketByteBuf.PacketWriter<T> writer) Modifier 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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<SoundEvent>
PlaySoundFromEntityS2CPacket.sound
private final RegistryEntry<SoundEvent>
PlaySoundS2CPacket.sound
Modifier and TypeMethodDescriptionPlaySoundFromEntityS2CPacket.getSound()
PlaySoundS2CPacket.getSound()
ModifierConstructorDescriptionPlaySoundFromEntityS2CPacket
(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
Modifier and TypeFieldDescriptionprivate Optional<RegistryEntry<Fluid>>
FluidPredicate.Builder.fluid
private final Optional<RegistryEntry<Fluid>>
FluidPredicate.fluid
The field for thefluid
record component. -
Uses of RegistryEntry in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final RegistryEntry<T>
PlayerPredicate.StatMatcher.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionprivate final Map<RegistryEntry<StatusEffect>,
EntityEffectPredicate.EffectData> EntityEffectPredicate.effects
The field for theeffects
record component.EntityEffectPredicate.Builder.EFFECTS
static final VariantPredicates<RegistryEntry<PaintingVariant>>
TypeSpecificPredicate.Deserializers.PAINTING
Modifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionEntityEffectPredicate.effects()
Returns the value of theeffects
record component.ModifierConstructorDescriptionStatMatcher
(StatType<T> type, RegistryEntry<T> value, NumberRange.IntRange range) private
StatMatcher
(StatType<T> statType, RegistryEntry<T> registryEntry, NumberRange.IntRange intRange, Supplier<Stat<T>> supplier) ModifierConstructorDescriptionCreates an instance of aEntityEffectPredicate
record class. -
Uses of RegistryEntry in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final Optional<RegistryEntry<Enchantment>>
EnchantmentPredicate.enchantment
The field for theenchantment
record component.private Optional<RegistryEntry<Potion>>
ItemPredicate.Builder.potion
private final Optional<RegistryEntry<Potion>>
ItemPredicate.potion
The field for thepotion
record component.Modifier and TypeMethodDescriptionEnchantmentPredicate.enchantment()
Returns the value of theenchantment
record component.ItemPredicate.potion()
Returns the value of thepotion
record component.ModifierConstructorDescriptionEnchantmentPredicate
(Optional<RegistryEntry<Enchantment>> optional, NumberRange.IntRange intRange) -
Uses of RegistryEntry in net.minecraft.registry
Modifier and TypeMethodDescriptionModifier 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.Modifier 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
Modifier and TypeClassDescriptionstatic final record
A direct registry entry holds the value directly.static class
A reference registry entry holds the value by reference.Modifier 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 @Nullable Set<RegistryEntry<T>>
RegistryEntryList.Direct.entrySet
Modifier 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
.Modifier 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.Modifier 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
.Modifier 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, Collection<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
.ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
Collection<RegistryEntry<T>>> TagManagerLoader.RegistryTags.tags
The field for thetags
record component.Modifier and TypeMethodDescriptionTagManagerLoader.RegistryTags.tags()
Returns the value of thetags
record component.Modifier and TypeMethodDescriptionvoid
ModifierConstructorDescriptionRegistryTags
(RegistryKey<? extends Registry<T>> registryKey, Map<Identifier, Collection<RegistryEntry<T>>> map) -
Uses of RegistryEntry in net.minecraft.screen
Modifier and TypeFieldDescriptionprivate List<RegistryEntry<BannerPattern>>
LoomScreenHandler.bannerPatterns
Modifier and TypeMethodDescriptionLoomScreenHandler.getBannerPatterns()
private List<RegistryEntry<BannerPattern>>
LoomScreenHandler.getPatternsFor
(ItemStack stack) Modifier and TypeMethodDescriptionprivate void
LoomScreenHandler.updateOutputSlot
(RegistryEntry<BannerPattern> pattern) -
Uses of RegistryEntry in net.minecraft.server.command
Modifier 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) Modifier 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
Modifier and TypeMethodDescriptionServerWorld.getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) Modifier 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) Modifier 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) Modifier 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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<SoundEvent>
BiomeAdditionsSound.sound
private final RegistryEntry<SoundEvent>
BiomeMoodSound.sound
private final RegistryEntry<SoundEvent>
MusicSound.sound
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<SoundEvent>>
SoundEvent.ENTRY_CODEC
Modifier and TypeMethodDescriptionBiomeAdditionsSound.getSound()
BiomeMoodSound.getSound()
MusicSound.getSound()
private static RegistryEntry<SoundEvent>
SoundEvents.register
(Identifier id, Identifier soundId, float distanceToTravel) ModifierConstructorDescriptionBiomeAdditionsSound
(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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<Structure>
StructureSet.WeightedEntry.structure
The field for thestructure
record component.Modifier 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.Modifier and TypeMethodDescriptionStructureSet.WeightedEntry.structure()
Returns the value of thestructure
record component.Modifier and TypeMethodDescriptionStructureGeneratorFactory.Context.validBiome()
Returns the value of thevalidBiome
record component.Modifier and TypeMethodDescriptionstatic StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure) static StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure, int weight) ModifierConstructorDescriptionStructureSet
(RegistryEntry<Structure> structure, StructurePlacement placement) WeightedEntry
(RegistryEntry<Structure> registryEntry, int int2) ModifierConstructorDescriptionContext
(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
Modifier 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
Modifier and TypeFieldDescriptionprivate static final MutableObject<com.mojang.serialization.Codec<RegistryEntry<StructurePool>>>
StructurePool.FALLBACK
static final com.mojang.serialization.Codec<RegistryEntry<StructurePool>>
StructurePool.REGISTRY_CODEC
Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,RegistryEntry<StructureProcessorList>> SinglePoolElement.processorsGetter()
Modifier 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) ModifierConstructorDescriptionprotected
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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<StructureProcessorList>>
StructureProcessorType.REGISTRY_CODEC
-
Uses of RegistryEntry in net.minecraft.util
Modifier and TypeMethodDescriptionstatic RegistryEntry<Item>
static RegistryEntry<Item>
static @Nullable RegistryEntry<Item>
JsonHelper.getItem
(com.google.gson.JsonObject object, String key, @Nullable RegistryEntry<Item> defaultValue) Modifier and TypeMethodDescriptionstatic @Nullable RegistryEntry<Item>
JsonHelper.getItem
(com.google.gson.JsonObject object, String key, @Nullable RegistryEntry<Item> defaultValue) -
Uses of RegistryEntry in net.minecraft.util.math.noise
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>>
DoublePerlinNoiseSampler.NoiseParameters.REGISTRY_ENTRY_CODEC
-
Uses of RegistryEntry in net.minecraft.village
Modifier 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
Modifier and TypeMethodDescriptionVillagerProfession.acquirableWorkstation()
Returns the value of theacquirableWorkstation
record component.VillagerProfession.heldWorkstation()
Returns the value of theheldWorkstation
record component.Modifier and TypeMethodDescriptionstatic VillagerType
VillagerType.forBiome
(RegistryEntry<Biome> biomeEntry) Modifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.register
(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) ModifierConstructorDescriptionVillagerProfession
(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
Modifier and TypeMethodDescriptionstatic String
RaidManager.nameFor
(RegistryEntry<DimensionType> dimensionTypeEntry) -
Uses of RegistryEntry in net.minecraft.world
Modifier 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) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>>
ChunkSerializer.createCodec
(Registry<Biome> biomeRegistry) Modifier 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) ModifierConstructorDescriptionprotected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, DynamicRegistryManager registryManager, RegistryEntry<DimensionType> dimensionEntry, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long biomeAccess, int maxChainedNeighborUpdates) -
Uses of RegistryEntry in net.minecraft.world.biome
Modifier 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
Modifier and TypeMethodDescriptionGenerationSettings.getCarversForStep
(GenerationStep.Carver carverStep) Biome.getLoopSound()
BiomeEffects.getLoopSound()
Returns the loop sound.Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec<RegistryEntry<Biome>>
MultiNoiseBiomeSource.BIOME_CODEC
private final com.mojang.datafixers.util.Either<MultiNoiseUtil.Entries<RegistryEntry<Biome>>,
RegistryEntry<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.biomeEntries
private final com.mojang.datafixers.util.Either<MultiNoiseUtil.Entries<RegistryEntry<Biome>>,
RegistryEntry<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.biomeEntries
private final Supplier<Set<RegistryEntry<Biome>>>
BiomeSource.biomes
static final com.mojang.serialization.MapCodec<MultiNoiseUtil.Entries<RegistryEntry<Biome>>>
MultiNoiseBiomeSource.CUSTOM_CODEC
Used to parse a custom biome source, when a preset hasn't been provided.private final MultiNoiseUtil.Entries<RegistryEntry<Biome>>
MultiNoiseBiomeSourceParameterList.entries
private static final com.mojang.serialization.MapCodec<RegistryEntry<MultiNoiseBiomeSourceParameterList>>
MultiNoiseBiomeSource.PRESET_CODEC
static final com.mojang.serialization.Codec<RegistryEntry<MultiNoiseBiomeSourceParameterList>>
MultiNoiseBiomeSourceParameterList.REGISTRY_CODEC
Modifier 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) Modifier and TypeMethodDescriptionprotected abstract Stream<RegistryEntry<Biome>>
BiomeSource.biomeStream()
protected Stream<RegistryEntry<Biome>>
CheckerboardBiomeSource.biomeStream()
protected Stream<RegistryEntry<Biome>>
FixedBiomeSource.biomeStream()
protected Stream<RegistryEntry<Biome>>
MultiNoiseBiomeSource.biomeStream()
protected Stream<RegistryEntry<Biome>>
TheEndBiomeSource.biomeStream()
private MultiNoiseUtil.Entries<RegistryEntry<Biome>>
MultiNoiseBiomeSource.getBiomeEntries()
BiomeSource.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) MultiNoiseBiomeSourceParameterList.getEntries()
@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) Modifier and TypeMethodDescriptionstatic MultiNoiseBiomeSource
MultiNoiseBiomeSource.create
(RegistryEntry<MultiNoiseBiomeSourceParameterList> biomeEntries) Modifier and TypeMethodDescriptionstatic MultiNoiseBiomeSource
MultiNoiseBiomeSource.create
(MultiNoiseUtil.Entries<RegistryEntry<Biome>> biomeEntries) @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) ModifierConstructorDescriptionFixedBiomeSource
(RegistryEntry<Biome> biome) private
TheEndBiomeSource
(RegistryEntry<Biome> centerBiome, RegistryEntry<Biome> highlandsBiome, RegistryEntry<Biome> midlandsBiome, RegistryEntry<Biome> smallIslandsBiome, RegistryEntry<Biome> barrensBiome) ModifierConstructorDescriptionprivate
MultiNoiseBiomeSource
(com.mojang.datafixers.util.Either<MultiNoiseUtil.Entries<RegistryEntry<Biome>>, RegistryEntry<MultiNoiseBiomeSourceParameterList>> biomeEntries) private
MultiNoiseBiomeSource
(com.mojang.datafixers.util.Either<MultiNoiseUtil.Entries<RegistryEntry<Biome>>, RegistryEntry<MultiNoiseBiomeSourceParameterList>> biomeEntries) -
Uses of RegistryEntry in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate ReadableContainer<RegistryEntry<Biome>>
ChunkSection.biomeContainer
private final Supplier<RegistryEntry<Biome>>
ChunkCache.plainsEntryGetter
Modifier 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) WrapperProtoChunk.getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) ModifierConstructorDescriptionEmptyChunk
(World world, ChunkPos pos, RegistryEntry<Biome> biomeEntry) ModifierConstructorDescriptionChunkSection
(PalettedContainer<BlockState> blockStateContainer, ReadableContainer<RegistryEntry<Biome>> biomeContainer) -
Uses of RegistryEntry in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionprivate final RegistryEntry<DimensionType>
DimensionOptions.dimensionTypeEntry
The field for thedimensionTypeEntry
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<DimensionType>>
DimensionType.REGISTRY_CODEC
Modifier and TypeMethodDescriptionDimensionOptions.dimensionTypeEntry()
Returns the value of thedimensionTypeEntry
record component.Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) ModifierConstructorDescriptionDimensionOptions
(RegistryEntry<DimensionType> dimensionTypeEntry, ChunkGenerator chunkGenerator) Creates an instance of aDimensionOptions
record class. -
Uses of RegistryEntry in net.minecraft.world.gen
Modifier and TypeFieldDescriptionprivate final RegistryEntry<Item>
FlatLevelGeneratorPreset.displayItem
The field for thedisplayItem
record component.private final RegistryEntry<DimensionType>
WorldPresets.Registrar.overworldDimensionType
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<FlatLevelGeneratorPreset>>
FlatLevelGeneratorPreset.ENTRY_CODEC
static final com.mojang.serialization.Codec<RegistryEntry<WorldPreset>>
WorldPreset.ENTRY_CODEC
Modifier and TypeMethodDescriptionFlatLevelGeneratorPreset.displayItem()
Returns the value of thedisplayItem
record component.Modifier and TypeMethodDescriptionprivate DimensionOptions
WorldPresets.Registrar.createOverworldOptions
(BiomeSource biomeSource, RegistryEntry<ChunkGeneratorSettings> chunkGeneratorSettings) ModifierConstructorDescriptionFlatLevelGeneratorPreset
(RegistryEntry<Item> registryEntry, FlatChunkGeneratorConfig flatChunkGeneratorConfig) -
Uses of RegistryEntry in net.minecraft.world.gen.carver
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<ConfiguredCarver<?>>>
ConfiguredCarver.REGISTRY_CODEC
Modifier 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 pos, BlockPos.Mutable tmp, AquiferSampler aquiferSampler, MutableBoolean replacedGrassy) 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 x, double y, double z, double width, double height, 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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<Biome>
FlatChunkGeneratorConfig.biome
private final RegistryEntry<ChunkGeneratorSettings>
NoiseChunkGenerator.settings
Modifier 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
Modifier 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()
Modifier 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.Modifier 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) Modifier 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) ModifierConstructorDescriptionprivate
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) ModifierConstructorDescriptionChunkGenerator
(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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<StructureSet>
StructurePlacement.ExclusionZone.otherSet
Deprecated.The field for theotherSet
record component.Modifier and TypeFieldDescriptionprivate final List<RegistryEntry<StructureSet>>
StructurePlacementCalculator.structureSets
Modifier and TypeMethodDescriptionStructurePlacement.ExclusionZone.otherSet()
Deprecated.Returns the value of theotherSet
record component.Modifier 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) Modifier and TypeMethodDescriptionstatic StructurePlacementCalculator
StructurePlacementCalculator.create
(NoiseConfig noiseConfig, long seed, BiomeSource biomeSource, Stream<RegistryEntry<StructureSet>> structureSets) ModifierConstructorDescriptionExclusionZone
(RegistryEntry<StructureSet> registryEntry, int int2) Deprecated.ModifierConstructorDescriptionprivate
StructurePlacementCalculator
(NoiseConfig noiseConfig, BiomeSource biomeSource, long structureSeed, long concentricRingSeed, List<RegistryEntry<StructureSet>> structureSets) -
Uses of RegistryEntry in net.minecraft.world.gen.densityfunction
Modifier 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.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<DensityFunction>>
DensityFunction.REGISTRY_ENTRY_CODEC
Modifier 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.Modifier 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) ModifierConstructorDescriptionDensityFunctionWrapper
(RegistryEntry<DensityFunction> registryEntry) Noise
(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> registryEntry, @Nullable DoublePerlinNoiseSampler doublePerlinNoiseSampler) RegistryEntryHolder
(RegistryEntry<DensityFunction> registryEntry) -
Uses of RegistryEntry in net.minecraft.world.gen.feature
Modifier 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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryEntry<ConfiguredFeature<?,
?>>> ConfiguredFeature.REGISTRY_CODEC
static final com.mojang.serialization.Codec<RegistryEntry<PlacedFeature>>
PlacedFeature.REGISTRY_CODEC
Modifier 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<?, ?>> feature, 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.Modifier and TypeMethodDescriptionstatic RegistryEntry<PlacedFeature>
PlacedFeatures.createEntry
(RegistryEntry<ConfiguredFeature<?, ?>> feature, PlacementModifier[] modifiers) static RandomPatchFeatureConfig
ConfiguredFeatures.createRandomPatchFeatureConfig
(int tries, RegistryEntry<PlacedFeature> feature) static void
PlacedFeatures.register
(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?, ?>> feature, List<PlacementModifier> modifiers) static void
PlacedFeatures.register
(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?, ?>> feature, PlacementModifier[] modifiers) ModifierConstructorDescriptionFossilFeatureConfig
(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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<StructurePool>
JigsawStructure.startPool
Modifier 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
Modifier and TypeMethodDescriptionStructure.Context.biomePredicate()
Returns the value of thebiomePredicate
record component.Modifier and TypeMethodDescriptionprivate static boolean
RuinedPortalStructure.isColdAt
(BlockPos pos, RegistryEntry<Biome> biome) Modifier 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) ModifierConstructorDescriptionJigsawStructure
(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) ModifierConstructorDescriptionContext
(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
Modifier and TypeFieldDescription(package private) Supplier<RegistryEntry<Biome>>
MaterialRules.MaterialRuleContext.biomeSupplier
private final Function<BlockPos,
RegistryEntry<Biome>> MaterialRules.MaterialRuleContext.posToBiome
Modifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.ModifierConstructorDescriptionprotected
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
Modifier and TypeFieldDescriptionprivate final RegistryEntry<PointOfInterestType>
PointOfInterest.type
Modifier 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
Modifier 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) Modifier 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) Modifier 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) ModifierConstructorDescriptionprivate
PointOfInterest
(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) PointOfInterest
(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener)