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.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntry<Block>> BeeNestDestroyedCriterion.Conditions.block
The field for theblock
record component.private final Optional
<RegistryEntry<Block>> EnterBlockCriterion.Conditions.block
The field for theblock
record component.private final Optional
<RegistryEntry<Block>> SlideDownBlockCriterion.Conditions.block
The field for theblock
record component.private final Optional
<RegistryEntry<Potion>> BrewedPotionCriterion.Conditions.potion
The field for thepotion
record component.Modifier and TypeMethodDescriptionBeeNestDestroyedCriterion.Conditions.block()
Returns the value of theblock
record component.EnterBlockCriterion.Conditions.block()
Returns the value of theblock
record component.SlideDownBlockCriterion.Conditions.block()
Returns the value of theblock
record component.BrewedPotionCriterion.Conditions.potion()
Returns the value of thepotion
record component.Modifier and TypeMethodDescriptionboolean
BrewedPotionCriterion.Conditions.matches
(RegistryEntry<Potion> potion) void
BrewedPotionCriterion.trigger
(ServerPlayerEntity player, RegistryEntry<Potion> potion) -
Uses of RegistryEntry in net.minecraft.block
Modifier and TypeMethodDescriptionDyedCarpetBlock.getEquipSound()
AbstractBlock.AbstractBlockState.getRegistryEntry()
Modifier and TypeMethodDescriptionprivate Optional
<? extends RegistryEntry<ConfiguredFeature<?, ?>>> FungusBlock.getFeatureEntry
(WorldView world) Modifier and TypeMethodDescriptionprotected static SuspiciousStewEffectsComponent
FlowerBlock.createStewEffectList
(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds) boolean
AbstractBlock.AbstractBlockState.isOf
(RegistryEntry<Block> blockEntry) ModifierConstructorDescriptionFlowerBlock
(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) WitherRoseBlock
(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) -
Uses of RegistryEntry in net.minecraft.block.entity
Modifier and TypeFieldDescription(package private) @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.primary
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.secondary
Modifier and TypeFieldDescriptionprivate static final Set
<RegistryEntry<StatusEffect>> BeaconBlockEntity.EFFECTS
static final List
<List<RegistryEntry<StatusEffect>>> BeaconBlockEntity.EFFECTS_BY_LEVEL
static final com.mojang.serialization.Codec
<RegistryEntry<BannerPattern>> BannerPattern.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<BannerPattern>> BannerPattern.ENTRY_PACKET_CODEC
Modifier and TypeMethodDescription(package private) static @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.getEffectOrNull
(@Nullable RegistryEntry<StatusEffect> effect) private static @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.readStatusEffect
(NbtCompound nbt, String key) Modifier and TypeMethodDescriptionvoid
SculkSensorBlockEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.void
SculkShriekerBlockEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
CalibratedSculkSensorBlockEntity.Callback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
SculkSensorBlockEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.boolean
SculkShriekerBlockEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private static void
BeaconBlockEntity.applyPlayerEffects
(World world, BlockPos pos, int beaconLevel, @Nullable RegistryEntry<StatusEffect> primaryEffect, @Nullable RegistryEntry<StatusEffect> secondaryEffect) (package private) static @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.getEffectOrNull
(@Nullable RegistryEntry<StatusEffect> effect) boolean
SculkCatalystBlockEntity.Listener.listen
(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private static void
BeaconBlockEntity.writeStatusEffect
(NbtCompound nbt, String key, @Nullable RegistryEntry<StatusEffect> effect) -
Uses of RegistryEntry in net.minecraft.block.enums
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<SoundEvent> NoteBlockInstrument.sound
ModifierConstructorDescriptionprivate
NoteBlockInstrument
(String name, RegistryEntry<SoundEvent> sound, NoteBlockInstrument.Type type) -
Uses of RegistryEntry in net.minecraft.block.jukebox
Modifier and TypeFieldDescriptionprivate @Nullable RegistryEntry
<JukeboxSong> JukeboxManager.song
private final RegistryEntry
<SoundEvent> JukeboxSong.soundEvent
The field for thesoundEvent
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<JukeboxSong>> JukeboxSong.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<JukeboxSong>> JukeboxSong.ENTRY_PACKET_CODEC
Modifier and TypeMethodDescriptionJukeboxSong.soundEvent()
Returns the value of thesoundEvent
record component.Modifier and TypeMethodDescriptionstatic Optional
<RegistryEntry<JukeboxSong>> JukeboxSong.getSongEntryFromStack
(RegistryWrapper.WrapperLookup registryLookup, ItemStack stack) Modifier and TypeMethodDescriptionvoid
JukeboxManager.setValues
(RegistryEntry<JukeboxSong> song, long ticksPlaying) void
JukeboxManager.startPlaying
(WorldAccess world, RegistryEntry<JukeboxSong> song) ModifierConstructorDescriptionJukeboxSong
(RegistryEntry<SoundEvent> registryEntry, Text text, float float2, int int2) -
Uses of RegistryEntry in net.minecraft.block.spawner
Modifier and TypeMethodDescriptionprivate static Optional
<com.mojang.datafixers.util.Pair<PlayerEntity, RegistryEntry<StatusEffect>>> TrialSpawnerData.findPlayerWithOmen
(ServerWorld world, List<UUID> players) -
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.ingame
Modifier and TypeFieldDescriptionprivate RegistryEntry
<StatusEffect> BeaconScreen.EffectButtonWidget.effect
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconScreen.primaryEffect
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconScreen.secondaryEffect
Modifier and TypeMethodDescriptionprivate void
LoomScreen.drawBanner
(DrawContext context, RegistryEntry<BannerPattern> pattern, int x, int y) protected MutableText
BeaconScreen.EffectButtonWidget.getEffectName
(RegistryEntry<StatusEffect> effect) protected MutableText
BeaconScreen.LevelTwoEffectButtonWidget.getEffectName
(RegistryEntry<StatusEffect> effect) protected void
BeaconScreen.EffectButtonWidget.init
(RegistryEntry<StatusEffect> effect) ModifierConstructorDescriptionEffectButtonWidget
(int x, int y, RegistryEntry<StatusEffect> effect, boolean primary, int level) LevelTwoEffectButtonWidget
(int x, int y, RegistryEntry<StatusEffect> effect) -
Uses of RegistryEntry in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescription(package private) RegistryEntry
<Biome> CustomizeBuffetLevelScreen.biome
private final @Nullable RegistryEntry
<WorldPreset> WorldCreator.WorldType.preset
The field for thepreset
record component.Modifier and TypeFieldDescriptionprivate final Consumer
<RegistryEntry<Biome>> CustomizeBuffetLevelScreen.onDone
Modifier and TypeMethodDescriptionWorldCreator.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) ModifierConstructorDescriptionCustomizeBuffetLevelScreen
(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) -
Uses of RegistryEntry in net.minecraft.client.network
Modifier and TypeMethodDescriptionClientPlayerEntity.removeStatusEffectInternal
(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity without calling any listener. -
Uses of RegistryEntry in net.minecraft.client.render
Modifier and TypeMethodDescriptionBackgroundRenderer.BlindnessFogModifier.getStatusEffect()
BackgroundRenderer.DarknessFogModifier.getStatusEffect()
BackgroundRenderer.StatusEffectFogModifier.getStatusEffect()
Modifier and TypeMethodDescriptionstatic SpriteIdentifier
TexturedRenderLayers.getBannerPatternTextureId
(RegistryEntry<BannerPattern> pattern) static SpriteIdentifier
TexturedRenderLayers.getShieldPatternTextureId
(RegistryEntry<BannerPattern> pattern) void
WorldRenderer.playJukeboxSong
(RegistryEntry<JukeboxSong> song, BlockPos jukeboxPos) -
Uses of RegistryEntry in net.minecraft.client.render.debug
Modifier and TypeMethodDescriptionboolean
GameEventDebugRenderer.Listener.listen
(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event. -
Uses of RegistryEntry in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionprivate void
ArmorFeatureRenderer.renderTrim
(RegistryEntry<ArmorMaterial> armorMaterial, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) -
Uses of RegistryEntry in net.minecraft.client.sound
Modifier and TypeMethodDescriptionstatic PositionedSoundInstance
PositionedSoundInstance.master
(RegistryEntry<SoundEvent> sound, float pitch) -
Uses of RegistryEntry in net.minecraft.client.texture
Modifier and TypeMethodDescriptionStatusEffectSpriteManager.getSprite
(RegistryEntry<StatusEffect> effect) -
Uses of RegistryEntry in net.minecraft.client.world
Modifier and TypeMethodDescriptionClientWorld.getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) Modifier and TypeMethodDescriptionvoid
ClientWorld.emitGameEvent
(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.void
ClientWorld.playSound
(@Nullable PlayerEntity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) void
ClientWorld.playSoundFromEntity
(@Nullable PlayerEntity source, 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 final com.mojang.serialization.Codec
<RegistryEntry<T>> RegistryEntryArgumentType.entryCodec
Modifier and TypeMethodDescriptionprivate static <T> RegistryEntry
<T> RegistryEntryArgumentType.getArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) static RegistryEntry
<LootCondition> RegistryEntryArgumentType.getLootCondition
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) static RegistryEntry
<LootFunction> RegistryEntryArgumentType.getLootFunction
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) static RegistryEntry
<LootTable> RegistryEntryArgumentType.getLootTable
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) ItemStringReader.ItemResult.item()
Returns the value of theitem
record component.RegistryEntryArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) Modifier and TypeMethodDescriptiondefault void
ItemStringReader.Callbacks.onItem
(RegistryEntry<Item> item) boolean
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) private static void
ItemStringReader.validate
(com.mojang.brigadier.StringReader reader, RegistryEntry<Item> item, ComponentChanges components) ModifierConstructorDescriptionItemResult
(RegistryEntry<Item> registryEntry, ComponentChanges componentChanges) ItemStackArgument
(RegistryEntry<Item> item, ComponentChanges components) ModifierConstructorDescriptionprotected
RegistryEntryArgumentType
(CommandRegistryAccess registryAccess, RegistryKey<Registry<T>> registry, com.mojang.serialization.Codec<RegistryEntry<T>> entryCodec) -
Uses of RegistryEntry in net.minecraft.component
Modifier and TypeFieldDescriptionstatic final ComponentType
<RegistryEntry<Instrument>> DataComponentTypes.INSTRUMENT
static final ComponentType
<List<RegistryEntry<SoundEvent>>> EnchantmentEffectComponentTypes.TRIDENT_SOUND
-
Uses of RegistryEntry in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<EntityAttribute> AttributeModifiersComponent.Entry.attribute
The field for theattribute
record component.private final RegistryEntry
<StatusEffect> SuspiciousStewEffectsComponent.StewEffect.effect
The field for theeffect
record component.private final RegistryEntry
<BannerPattern> BannerPatternsComponent.Layer.pattern
The field for thepattern
record component.private final RegistryEntry
<MapDecorationType> MapDecorationsComponent.Decoration.type
The field for thetype
record component.Modifier and TypeFieldDescriptionprivate final Object2IntOpenHashMap
<RegistryEntry<Enchantment>> ItemEnchantmentsComponent.Builder.enchantments
(package private) final Object2IntOpenHashMap
<RegistryEntry<Enchantment>> ItemEnchantmentsComponent.enchantments
private static final com.mojang.serialization.Codec
<Object2IntOpenHashMap<RegistryEntry<Enchantment>>> ItemEnchantmentsComponent.INLINE_CODEC
private final Optional
<RegistryEntry<Potion>> PotionContentsComponent.potion
The field for thepotion
record component.private final Map
<RegistryEntry<Block>, Property<?>> DebugStickStateComponent.properties
The field for theproperties
record component.Modifier and TypeMethodDescriptionAttributeModifiersComponent.Entry.attribute()
Returns the value of theattribute
record component.SuspiciousStewEffectsComponent.StewEffect.effect()
Returns the value of theeffect
record component.BannerPatternsComponent.Layer.pattern()
Returns the value of thepattern
record component.MapDecorationsComponent.Decoration.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionItemEnchantmentsComponent.getEnchantmentEntries()
ItemEnchantmentsComponent.Builder.getEnchantments()
ItemEnchantmentsComponent.getEnchantments()
PotionContentsComponent.potion()
Returns the value of thepotion
record component.Map
<RegistryEntry<Block>, Property<?>> DebugStickStateComponent.properties()
Returns the value of theproperties
record component.Modifier and TypeMethodDescriptionAttributeModifiersComponent.Builder.add
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) BannerPatternsComponent.Builder.add
(RegistryEntry<BannerPattern> pattern, DyeColor color) void
ItemEnchantmentsComponent.Builder.add
(RegistryEntry<Enchantment> enchantment, int level) static ItemStack
PotionContentsComponent.createStack
(Item item, RegistryEntry<Potion> potion) static int
PotionContentsComponent.getColor
(RegistryEntry<Potion> potion) int
ItemEnchantmentsComponent.Builder.getLevel
(RegistryEntry<Enchantment> enchantment) int
ItemEnchantmentsComponent.getLevel
(RegistryEntry<Enchantment> enchantment) boolean
AttributeModifiersComponent.Entry.matches
(RegistryEntry<EntityAttribute> attribute, Identifier modifierId) boolean
PotionContentsComponent.matches
(RegistryEntry<Potion> potion) void
ItemEnchantmentsComponent.Builder.set
(RegistryEntry<Enchantment> enchantment, int level) AttributeModifiersComponent.with
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) DebugStickStateComponent.with
(RegistryEntry<Block> block, Property<?> property) PotionContentsComponent.with
(RegistryEntry<Potion> potion) Modifier and TypeMethodDescriptionvoid
AttributeModifiersComponent.applyModifiers
(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeConsumer) void
AttributeModifiersComponent.applyModifiers
(EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeConsumer) void
ItemEnchantmentsComponent.Builder.remove
(Predicate<RegistryEntry<Enchantment>> predicate) ModifierConstructorDescriptionDecoration
(RegistryEntry<MapDecorationType> registryEntry, double double2, double double3, float float2) Entry
(RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier, AttributeModifierSlot attributeModifierSlot) Layer
(RegistryEntry<BannerPattern> registryEntry, DyeColor dyeColor) PotionContentsComponent
(RegistryEntry<Potion> potion) StewEffect
(RegistryEntry<StatusEffect> registryEntry, int int2) ModifierConstructorDescriptionDebugStickStateComponent
(Map<RegistryEntry<Block>, Property<?>> map) (package private)
ItemEnchantmentsComponent
(Object2IntOpenHashMap<RegistryEntry<Enchantment>> enchantments, boolean showInTooltip) PotionContentsComponent
(Optional<RegistryEntry<Potion>> optional, Optional<Integer> optional2, List<StatusEffectInstance> list) -
Uses of RegistryEntry in net.minecraft.data.client
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<ArmorMaterial>, String> ItemModelGenerator.TrimMaterial.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionItemModelGenerator.TrimMaterial.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionprivate JsonObject
ItemModelGenerator.createArmorJson
(Identifier id, Map<TextureKey, Identifier> textures, RegistryEntry<ArmorMaterial> armorMaterial) ItemModelGenerator.TrimMaterial.getAppliedName
(RegistryEntry<ArmorMaterial> armorMaterial) ModifierConstructorDescription(package private)
TrimMaterial
(String string, float float2, Map<RegistryEntry<ArmorMaterial>, String> map) -
Uses of RegistryEntry in net.minecraft.enchantment
Modifier and TypeFieldDescriptionfinal RegistryEntry
<Enchantment> EnchantmentLevelEntry.enchantment
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<Enchantment>> Enchantment.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<Enchantment>> Enchantment.ENTRY_PACKET_CODEC
Modifier and TypeMethodDescriptionvoid
EnchantmentHelper.Consumer.accept
(RegistryEntry<Enchantment> enchantment, int level) void
EnchantmentHelper.ContextAwareConsumer.accept
(RegistryEntry<Enchantment> enchantment, int level, EnchantmentEffectContext context) static boolean
Enchantment.canBeCombined
(RegistryEntry<Enchantment> first, RegistryEntry<Enchantment> second) static int
EnchantmentHelper.getEquipmentLevel
(RegistryEntry<Enchantment> enchantment, LivingEntity entity) Returns the highest level of the passed enchantment in the enchantment's applicable equipment slots' item stacks.static int
EnchantmentHelper.getLevel
(RegistryEntry<Enchantment> enchantment, ItemStack stack) Gets the level of an enchantment on an item stack.static Text
Enchantment.getName
(RegistryEntry<Enchantment> enchantment, int level) static boolean
EnchantmentHelper.isCompatible
(Collection<RegistryEntry<Enchantment>> existing, RegistryEntry<Enchantment> candidate) Returns whether thecandidate
enchantment is compatible with theexisting
enchantments.Modifier and TypeMethodDescriptionstatic void
EnchantmentHelper.applyAttributeModifiers
(ItemStack stack, AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) static void
EnchantmentHelper.applyAttributeModifiers
(ItemStack stack, EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) static ItemStack
EnchantmentHelper.enchant
(Random random, ItemStack stack, int level, Stream<RegistryEntry<Enchantment>> possibleEnchantments) Enchants thetarget
item stack and returns it.static List
<EnchantmentLevelEntry> EnchantmentHelper.generateEnchantments
(Random random, ItemStack stack, int level, Stream<RegistryEntry<Enchantment>> possibleEnchantments) Generate the enchantments for enchanting thestack
.static List
<EnchantmentLevelEntry> EnchantmentHelper.getPossibleEntries
(int level, ItemStack stack, Stream<RegistryEntry<Enchantment>> possibleEnchantments) Gets all the possible entries for enchanting thestack
at the givenpower
.static boolean
EnchantmentHelper.isCompatible
(Collection<RegistryEntry<Enchantment>> existing, RegistryEntry<Enchantment> candidate) Returns whether thecandidate
enchantment is compatible with theexisting
enchantments.ModifierConstructorDescriptionEnchantmentLevelEntry
(RegistryEntry<Enchantment> enchantment, int level) -
Uses of RegistryEntry in net.minecraft.enchantment.effect
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<EntityAttribute> AttributeEnchantmentEffect.attribute
The field for theattribute
record component.Modifier and TypeMethodDescriptionAttributeEnchantmentEffect.attribute()
Returns the value of theattribute
record component.Modifier and TypeMethodDescriptionAttributeEnchantmentEffect.getModifiers
(int level, EquipmentSlot slot) ModifierConstructorDescriptionAttributeEnchantmentEffect
(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EnchantmentLevelBasedValue enchantmentLevelBasedValue, EntityAttributeModifier.Operation operation) -
Uses of RegistryEntry in net.minecraft.enchantment.effect.entity
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<DamageType> DamageEntityEnchantmentEffect.damageType
The field for thedamageType
record component.private final RegistryEntry
<SoundEvent> ExplodeEnchantmentEffect.sound
The field for thesound
record component.private final RegistryEntry
<SoundEvent> PlaySoundEnchantmentEffect.soundEvent
The field for thesoundEvent
record component.Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntry<DamageType>> ExplodeEnchantmentEffect.damageType
The field for thedamageType
record component.private final Optional
<RegistryEntry<GameEvent>> ReplaceBlockEnchantmentEffect.triggerGameEvent
The field for thetriggerGameEvent
record component.private final Optional
<RegistryEntry<GameEvent>> ReplaceDiskEnchantmentEffect.triggerGameEvent
The field for thetriggerGameEvent
record component.private final Optional
<RegistryEntry<GameEvent>> SetBlockPropertiesEnchantmentEffect.triggerGameEvent
The field for thetriggerGameEvent
record component.Modifier and TypeMethodDescriptionDamageEntityEnchantmentEffect.damageType()
Returns the value of thedamageType
record component.ExplodeEnchantmentEffect.sound()
Returns the value of thesound
record component.PlaySoundEnchantmentEffect.soundEvent()
Returns the value of thesoundEvent
record component.Modifier and TypeMethodDescriptionExplodeEnchantmentEffect.damageType()
Returns the value of thedamageType
record component.ReplaceBlockEnchantmentEffect.triggerGameEvent()
Returns the value of thetriggerGameEvent
record component.ReplaceDiskEnchantmentEffect.triggerGameEvent()
Returns the value of thetriggerGameEvent
record component.SetBlockPropertiesEnchantmentEffect.triggerGameEvent()
Returns the value of thetriggerGameEvent
record component.ModifierConstructorDescriptionDamageEntityEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2, RegistryEntry<DamageType> registryEntry) ExplodeEnchantmentEffect
(boolean bool, Optional<RegistryEntry<DamageType>> optional, Optional<EnchantmentLevelBasedValue> optional2, Optional<RegistryEntryList<Block>> optional3, Vec3d vec3d, EnchantmentLevelBasedValue enchantmentLevelBasedValue, boolean bool2, World.ExplosionSourceType explosionSourceType, ParticleEffect particleEffect, ParticleEffect particleEffect2, RegistryEntry<SoundEvent> registryEntry) PlaySoundEnchantmentEffect
(RegistryEntry<SoundEvent> registryEntry, FloatProvider floatProvider, FloatProvider floatProvider2) ModifierConstructorDescriptionExplodeEnchantmentEffect
(boolean bool, Optional<RegistryEntry<DamageType>> optional, Optional<EnchantmentLevelBasedValue> optional2, Optional<RegistryEntryList<Block>> optional3, Vec3d vec3d, EnchantmentLevelBasedValue enchantmentLevelBasedValue, boolean bool2, World.ExplosionSourceType explosionSourceType, ParticleEffect particleEffect, ParticleEffect particleEffect2, RegistryEntry<SoundEvent> registryEntry) SetBlockPropertiesEnchantmentEffect
(BlockStateComponent blockStateComponent, Vec3i vec3i, Optional<RegistryEntry<GameEvent>> optional) -
Uses of RegistryEntry in net.minecraft.enchantment.provider
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<Enchantment> SingleEnchantmentProvider.enchantment
The field for theenchantment
record component.Modifier and TypeMethodDescriptionSingleEnchantmentProvider.enchantment()
Returns the value of theenchantment
record component.ModifierConstructorDescriptionSingleEnchantmentProvider
(RegistryEntry<Enchantment> registryEntry, IntProvider intProvider) -
Uses of RegistryEntry in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<StatusEffect>, StatusEffectInstance> LivingEntity.activeStatusEffects
Modifier and TypeMethodDescriptionvoid
Entity.emitGameEvent
(RegistryEntry<GameEvent> event) Emits a game event originating from this entity at this entity's position.void
Entity.emitGameEvent
(RegistryEntry<GameEvent> event, @Nullable Entity entity) Emits a game event originating from another entity at this entity's position.double
LivingEntity.getAttributeBaseValue
(RegistryEntry<EntityAttribute> attribute) LivingEntity.getAttributeInstance
(RegistryEntry<EntityAttribute> attribute) double
LivingEntity.getAttributeValue
(RegistryEntry<EntityAttribute> attribute) LivingEntity.getStatusEffect
(RegistryEntry<StatusEffect> effect) boolean
LivingEntity.hasStatusEffect
(RegistryEntry<StatusEffect> effect) boolean
LivingEntity.removeStatusEffect
(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity.LivingEntity.removeStatusEffectInternal
(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity without calling any listener.private void
LivingEntity.updateAttribute
(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) FindPointOfInterestTask.findPathToPoi
(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) -
Uses of RegistryEntry in net.minecraft.entity.attribute
Modifier and TypeFieldDescriptionstatic final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_ARMOR
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_ARMOR_TOUGHNESS
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_ATTACK_DAMAGE
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_ATTACK_KNOCKBACK
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_ATTACK_SPEED
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_BURNING_TIME
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_EXPLOSION_KNOCKBACK_RESISTANCE
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_FALL_DAMAGE_MULTIPLIER
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_FLYING_SPEED
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_FOLLOW_RANGE
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_GRAVITY
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_JUMP_STRENGTH
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_KNOCKBACK_RESISTANCE
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_LUCK
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_MAX_ABSORPTION
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_MAX_HEALTH
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_MOVEMENT_EFFICIENCY
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_MOVEMENT_SPEED
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_OXYGEN_BONUS
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_SAFE_FALL_DISTANCE
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_SCALE
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_STEP_HEIGHT
static final RegistryEntry
<EntityAttribute> EntityAttributes.GENERIC_WATER_MOVEMENT_EFFICIENCY
static final RegistryEntry
<EntityAttribute> EntityAttributes.PLAYER_BLOCK_BREAK_SPEED
static final RegistryEntry
<EntityAttribute> EntityAttributes.PLAYER_BLOCK_INTERACTION_RANGE
static final RegistryEntry
<EntityAttribute> EntityAttributes.PLAYER_ENTITY_INTERACTION_RANGE
static final RegistryEntry
<EntityAttribute> EntityAttributes.PLAYER_MINING_EFFICIENCY
static final RegistryEntry
<EntityAttribute> EntityAttributes.PLAYER_SNEAKING_SPEED
static final RegistryEntry
<EntityAttribute> EntityAttributes.PLAYER_SUBMERGED_MINING_SPEED
static final RegistryEntry
<EntityAttribute> EntityAttributes.PLAYER_SWEEPING_DAMAGE_RATIO
private final RegistryEntry
<EntityAttribute> EntityAttributeInstance.type
static final RegistryEntry
<EntityAttribute> EntityAttributes.ZOMBIE_SPAWN_REINFORCEMENTS
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<EntityAttribute>> EntityAttribute.CODEC
private final Map
<RegistryEntry<EntityAttribute>, EntityAttributeInstance> AttributeContainer.custom
private final ImmutableMap.Builder
<RegistryEntry<EntityAttribute>, EntityAttributeInstance> DefaultAttributeContainer.Builder.instances
private final Map
<RegistryEntry<EntityAttribute>, EntityAttributeInstance> DefaultAttributeContainer.instances
static final PacketCodec
<RegistryByteBuf, RegistryEntry<EntityAttribute>> EntityAttribute.PACKET_CODEC
Modifier and TypeMethodDescriptionEntityAttributeInstance.getAttribute()
private static RegistryEntry
<EntityAttribute> EntityAttributes.register
(String id, EntityAttribute attribute) static RegistryEntry
<EntityAttribute> EntityAttributes.registerAndGetDefault
(Registry<EntityAttribute> registry) Modifier and TypeMethodDescriptionDefaultAttributeContainer.Builder.add
(RegistryEntry<EntityAttribute> attribute) DefaultAttributeContainer.Builder.add
(RegistryEntry<EntityAttribute> attribute, double baseValue) private EntityAttributeInstance
DefaultAttributeContainer.Builder.checkedAdd
(RegistryEntry<EntityAttribute> attribute) DefaultAttributeContainer.createOverride
(Consumer<EntityAttributeInstance> updateCallback, RegistryEntry<EntityAttribute> attribute) double
AttributeContainer.getBaseValue
(RegistryEntry<EntityAttribute> attribute) double
DefaultAttributeContainer.getBaseValue
(RegistryEntry<EntityAttribute> attribute) AttributeContainer.getCustomInstance
(RegistryEntry<EntityAttribute> attribute) double
AttributeContainer.getModifierValue
(RegistryEntry<EntityAttribute> attribute, Identifier id) double
DefaultAttributeContainer.getModifierValue
(RegistryEntry<EntityAttribute> attribute, Identifier id) double
AttributeContainer.getValue
(RegistryEntry<EntityAttribute> attribute) double
DefaultAttributeContainer.getValue
(RegistryEntry<EntityAttribute> attribute) boolean
DefaultAttributeContainer.has
(RegistryEntry<EntityAttribute> attribute) boolean
AttributeContainer.hasAttribute
(RegistryEntry<EntityAttribute> attribute) boolean
DefaultAttributeContainer.hasModifier
(RegistryEntry<EntityAttribute> attribute, Identifier id) boolean
AttributeContainer.hasModifierForAttribute
(RegistryEntry<EntityAttribute> attribute, Identifier id) private EntityAttributeInstance
DefaultAttributeContainer.require
(RegistryEntry<EntityAttribute> attribute) Modifier and TypeMethodDescriptionvoid
AttributeContainer.addTemporaryModifiers
(Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap) void
AttributeContainer.removeModifiers
(Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap) ModifierConstructorDescriptionEntityAttributeInstance
(RegistryEntry<EntityAttribute> type, Consumer<EntityAttributeInstance> updateCallback) ModifierConstructorDescription(package private)
-
Uses of RegistryEntry in net.minecraft.entity.damage
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<DamageType>> DamageType.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<DamageType>> DamageType.ENTRY_PACKET_CODEC
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<CatVariant>> TrackedDataHandlerRegistry.CAT_VARIANT
static final TrackedDataHandler
<RegistryEntry<FrogVariant>> TrackedDataHandlerRegistry.FROG_VARIANT
static final TrackedDataHandler
<RegistryEntry<PaintingVariant>> TrackedDataHandlerRegistry.PAINTING_VARIANT
static final TrackedDataHandler
<RegistryEntry<WolfVariant>> TrackedDataHandlerRegistry.WOLF_VARIANT
-
Uses of RegistryEntry in net.minecraft.entity.decoration.painting
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<PaintingVariant>> PaintingVariant.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<PaintingVariant>> PaintingVariant.ENTRY_PACKET_CODEC
private static final TrackedData
<RegistryEntry<PaintingVariant>> PaintingEntity.VARIANT
static final com.mojang.serialization.Codec
<RegistryEntry<PaintingVariant>> PaintingEntity.VARIANT_ENTRY_CODEC
static final com.mojang.serialization.MapCodec
<RegistryEntry<PaintingVariant>> PaintingEntity.VARIANT_MAP_CODEC
Modifier and TypeMethodDescriptionprivate static int
PaintingEntity.getSize
(RegistryEntry<PaintingVariant> variant) void
PaintingEntity.setVariant
(RegistryEntry<PaintingVariant> variant) ModifierConstructorDescriptionPaintingEntity
(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of RegistryEntry in net.minecraft.entity.effect
Modifier and TypeFieldDescriptionstatic final RegistryEntry
<StatusEffect> StatusEffects.ABSORPTION
static final RegistryEntry
<StatusEffect> StatusEffects.BAD_OMEN
static final RegistryEntry
<StatusEffect> StatusEffects.BLINDNESS
static final RegistryEntry
<StatusEffect> StatusEffects.CONDUIT_POWER
static final RegistryEntry
<StatusEffect> StatusEffects.DARKNESS
static final RegistryEntry
<StatusEffect> StatusEffects.DOLPHINS_GRACE
static final RegistryEntry
<StatusEffect> StatusEffects.FIRE_RESISTANCE
static final RegistryEntry
<StatusEffect> StatusEffects.GLOWING
static final RegistryEntry
<StatusEffect> StatusEffects.HASTE
static final RegistryEntry
<StatusEffect> StatusEffects.HEALTH_BOOST
static final RegistryEntry
<StatusEffect> StatusEffects.HERO_OF_THE_VILLAGE
static final RegistryEntry
<StatusEffect> StatusEffects.HUNGER
static final RegistryEntry
<StatusEffect> StatusEffects.INFESTED
static final RegistryEntry
<StatusEffect> StatusEffects.INSTANT_DAMAGE
static final RegistryEntry
<StatusEffect> StatusEffects.INSTANT_HEALTH
static final RegistryEntry
<StatusEffect> StatusEffects.INVISIBILITY
static final RegistryEntry
<StatusEffect> StatusEffects.JUMP_BOOST
static final RegistryEntry
<StatusEffect> StatusEffects.LEVITATION
static final RegistryEntry
<StatusEffect> StatusEffects.LUCK
static final RegistryEntry
<StatusEffect> StatusEffects.MINING_FATIGUE
static final RegistryEntry
<StatusEffect> StatusEffects.NAUSEA
static final RegistryEntry
<StatusEffect> StatusEffects.NIGHT_VISION
static final RegistryEntry
<StatusEffect> StatusEffects.OOZING
static final RegistryEntry
<StatusEffect> StatusEffects.POISON
static final RegistryEntry
<StatusEffect> StatusEffects.RAID_OMEN
static final RegistryEntry
<StatusEffect> StatusEffects.REGENERATION
static final RegistryEntry
<StatusEffect> StatusEffects.RESISTANCE
static final RegistryEntry
<StatusEffect> StatusEffects.SATURATION
static final RegistryEntry
<StatusEffect> StatusEffects.SLOW_FALLING
static final RegistryEntry
<StatusEffect> StatusEffects.SLOWNESS
static final RegistryEntry
<StatusEffect> StatusEffects.SPEED
static final RegistryEntry
<StatusEffect> StatusEffects.STRENGTH
static final RegistryEntry
<StatusEffect> StatusEffects.TRIAL_OMEN
private final RegistryEntry
<StatusEffect> StatusEffectInstance.type
static final RegistryEntry
<StatusEffect> StatusEffects.UNLUCK
static final RegistryEntry
<StatusEffect> StatusEffects.WATER_BREATHING
static final RegistryEntry
<StatusEffect> StatusEffects.WEAKNESS
static final RegistryEntry
<StatusEffect> StatusEffects.WEAVING
static final RegistryEntry
<StatusEffect> StatusEffects.WIND_CHARGED
static final RegistryEntry
<StatusEffect> StatusEffects.WITHER
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<EntityAttribute>, StatusEffect.EffectAttributeModifierCreator> StatusEffect.attributeModifiers
static final com.mojang.serialization.Codec
<RegistryEntry<StatusEffect>> StatusEffect.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<StatusEffect>> StatusEffect.ENTRY_PACKET_CODEC
Modifier and TypeMethodDescriptionStatusEffectInstance.getEffectType()
private static RegistryEntry
<StatusEffect> StatusEffects.register
(String id, StatusEffect statusEffect) static RegistryEntry
<StatusEffect> StatusEffects.registerAndGetDefault
(Registry<StatusEffect> registry) Modifier and TypeMethodDescriptionStatusEffect.addAttributeModifier
(RegistryEntry<EntityAttribute> attribute, Identifier id, double amount, EntityAttributeModifier.Operation operation) boolean
StatusEffectInstance.equals
(RegistryEntry<StatusEffect> effect) Modifier and TypeMethodDescriptionvoid
StatusEffect.forEachAttributeModifier
(int amplifier, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> consumer) ModifierConstructorDescriptionStatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier, boolean ambient, boolean visible) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, @Nullable StatusEffectInstance hiddenEffect) private
StatusEffectInstance
(RegistryEntry<StatusEffect> effect, StatusEffectInstance.Parameters parameters) -
Uses of RegistryEntry in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionvoid
WardenEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
WardenEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event. -
Uses of RegistryEntry in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionprivate static final TrackedData
<RegistryEntry<CatVariant>> CatEntity.CAT_VARIANT
static final com.mojang.serialization.Codec
<RegistryEntry<WolfVariant>> WolfVariant.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<WolfVariant>> WolfVariant.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<CatVariant>> CatVariant.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<FrogVariant>> FrogVariant.PACKET_CODEC
static final Map
<MemoryModuleType<GlobalPos>, BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>> VillagerEntity.POINTS_OF_INTEREST
private static final TrackedData
<RegistryEntry<FrogVariant>> FrogEntity.VARIANT
private static final TrackedData
<RegistryEntry<WolfVariant>> WolfEntity.VARIANT
Modifier and TypeMethodDescriptionstatic RegistryEntry
<WolfVariant> WolfVariants.fromBiome
(DynamicRegistryManager dynamicRegistryManager, RegistryEntry<Biome> biome) CatEntity.getVariant()
FrogEntity.getVariant()
WolfEntity.getVariant()
Modifier and TypeMethodDescriptionvoid
AllayEntity.VibrationCallback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
AllayEntity.VibrationCallback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.static FoxEntity.Type
FoxEntity.Type.fromBiome
(RegistryEntry<Biome> biome) static RegistryEntry
<WolfVariant> WolfVariants.fromBiome
(DynamicRegistryManager dynamicRegistryManager, RegistryEntry<Biome> biome) boolean
AllayEntity.JukeboxEventListener.listen
(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private void
AbstractHorseEntity.setChildAttribute
(PassiveEntity other, AbstractHorseEntity child, RegistryEntry<EntityAttribute> attribute, double min, double max) void
CatEntity.setVariant
(RegistryEntry<CatVariant> registryEntry) void
FrogEntity.setVariant
(RegistryEntry<FrogVariant> registryEntry) void
WolfEntity.setVariant
(RegistryEntry<WolfVariant> registryEntry) -
Uses of RegistryEntry in net.minecraft.fluid
-
Uses of RegistryEntry in net.minecraft.item
Modifier and TypeFieldDescriptionstatic final RegistryEntry
<ArmorMaterial> ArmorMaterials.ARMADILLO
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.CHAIN
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.DIAMOND
private final RegistryEntry
<SoundEvent> ArmorMaterial.equipSound
The field for theequipSound
record component.static final RegistryEntry
<ArmorMaterial> ArmorMaterials.GOLD
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.IRON
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.LEATHER
protected final RegistryEntry
<ArmorMaterial> ArmorItem.material
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.NETHERITE
private final RegistryEntry
<SoundEvent> Instrument.soundEvent
The field for thesoundEvent
record component.static final RegistryEntry
<ArmorMaterial> ArmorMaterials.TURTLE
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<ArmorMaterial>> ArmorMaterial.CODEC
private final Optional
<RegistryEntry<SoundEvent>> CrossbowItem.LoadingSounds.end
The field for theend
record component.static final com.mojang.serialization.Codec
<RegistryEntry<Instrument>> Instrument.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<Instrument>> Instrument.ENTRY_PACKET_CODEC
static final com.mojang.serialization.Codec
<RegistryEntry<Item>> ItemStack.ITEM_CODEC
private final Optional
<RegistryEntry<SoundEvent>> CrossbowItem.LoadingSounds.mid
The field for themid
record component.private static final Comparator
<RegistryEntry<PaintingVariant>> ItemGroups.PAINTING_VARIANT_COMPARATOR
private final Optional
<RegistryEntry<SoundEvent>> CrossbowItem.LoadingSounds.start
The field for thestart
record component.Modifier and TypeMethodDescriptionArmorMaterial.equipSound()
Returns the value of theequipSound
record component.static RegistryEntry
<ArmorMaterial> ArmorMaterials.getDefault
(Registry<ArmorMaterial> registry) ArmorItem.getEquipSound()
ElytraItem.getEquipSound()
default RegistryEntry
<SoundEvent> Equipment.getEquipSound()
ArmorItem.getMaterial()
ItemStack.getRegistryEntry()
private static RegistryEntry
<ArmorMaterial> ArmorMaterials.register
(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) private static RegistryEntry
<ArmorMaterial> ArmorMaterials.register
(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient, List<ArmorMaterial.Layer> layers) Instrument.soundEvent()
Returns the value of thesoundEvent
record component.Modifier and TypeMethodDescriptionCrossbowItem.LoadingSounds.end()
Returns the value of theend
record component.private Optional
<RegistryEntry<Instrument>> GoatHornItem.getInstrument
(ItemStack stack) CrossbowItem.LoadingSounds.mid()
Returns the value of themid
record component.CrossbowItem.LoadingSounds.start()
Returns the value of thestart
record component.Modifier and TypeMethodDescriptionvoid
ItemStack.addEnchantment
(RegistryEntry<Enchantment> enchantment, int level) Enchants this item with the given enchantment and level.private void
ItemStack.appendAttributeModifierTooltip
(Consumer<Text> textConsumer, @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) static ItemStack
GoatHornItem.getStackForInstrument
(Item item, RegistryEntry<Instrument> instrument) boolean
ItemStack.itemMatches
(RegistryEntry<Item> itemEntry) Returns whether the item's registry entry matchesitemEntry
.private static RegistryEntry
<ArmorMaterial> ArmorMaterials.register
(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) private static RegistryEntry
<ArmorMaterial> ArmorMaterials.register
(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient, List<ArmorMaterial.Layer> layers) Modifier and TypeMethodDescriptionprivate static void
ItemGroups.addPaintings
(ItemGroup.Entries entries, RegistryWrapper.WrapperLookup registryLookup, RegistryWrapper.Impl<PaintingVariant> registryWrapper, Predicate<RegistryEntry<PaintingVariant>> filter, ItemGroup.StackVisibility stackVisibility) void
ItemStack.applyAttributeModifier
(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) void
ItemStack.applyAttributeModifiers
(EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) boolean
ItemStack.itemMatches
(Predicate<RegistryEntry<Item>> predicate) Returns whether the item's registry entry passes thepredicate
.ModifierConstructorDescriptionAnimalArmorItem
(RegistryEntry<ArmorMaterial> material, AnimalArmorItem.Type type, boolean hasOverlay, Item.Settings settings) ArmorItem
(RegistryEntry<ArmorMaterial> material, ArmorItem.Type type, Item.Settings settings) ArmorMaterial
(Map<ArmorItem.Type, Integer> map, int int2, RegistryEntry<SoundEvent> registryEntry, Supplier<Ingredient> supplier, List<ArmorMaterial.Layer> list, float float2, float float3) Instrument
(RegistryEntry<SoundEvent> registryEntry, int int2, float float2) ItemStack
(RegistryEntry<Item> entry) ItemStack
(RegistryEntry<Item> itemEntry, int count) ItemStack
(RegistryEntry<Item> item, int count, ComponentChanges changes) ModifierConstructorDescriptionLoadingSounds
(Optional<RegistryEntry<SoundEvent>> optional, Optional<RegistryEntry<SoundEvent>> optional2, Optional<RegistryEntry<SoundEvent>> optional3) -
Uses of RegistryEntry in net.minecraft.item.map
Modifier and TypeFieldDescriptionstatic final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_BLACK
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_BLUE
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_BROWN
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_CYAN
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_GRAY
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_GREEN
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_LIGHT_BLUE
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_LIGHT_GRAY
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_LIME
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_MAGENTA
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_ORANGE
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_PINK
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_PURPLE
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_RED
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_WHITE
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BANNER_YELLOW
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.BLUE_MARKER
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.FRAME
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.JUNGLE_TEMPLE
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.MANSION
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.MONUMENT
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.PLAYER
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.PLAYER_OFF_LIMITS
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.PLAYER_OFF_MAP
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.RED_MARKER
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.RED_X
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.SWAMP_HUT
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.TARGET_POINT
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.TARGET_X
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.TRIAL_CHAMBERS
private final RegistryEntry
<MapDecorationType> MapDecoration.type
The field for thetype
record component.static final RegistryEntry
<MapDecorationType> MapDecorationTypes.VILLAGE_DESERT
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.VILLAGE_PLAINS
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.VILLAGE_SAVANNA
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.VILLAGE_SNOWY
static final RegistryEntry
<MapDecorationType> MapDecorationTypes.VILLAGE_TAIGA
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<MapDecorationType>> MapDecorationType.CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<MapDecorationType>> MapDecorationType.PACKET_CODEC
Modifier and TypeMethodDescriptionMapBannerMarker.getDecorationType()
static RegistryEntry
<MapDecorationType> MapDecorationTypes.getDefault
(Registry<MapDecorationType> registry) private static RegistryEntry
<MapDecorationType> private static RegistryEntry
<MapDecorationType> MapDecorationTypes.register
(String id, String assetId, boolean showOnItemFrame, int mapColor, boolean trackCount, boolean explorationMapElement) MapDecoration.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionprivate void
MapState.addDecoration
(RegistryEntry<MapDecorationType> type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text) static void
MapState.addDecorationsNbt
(ItemStack stack, BlockPos pos, String id, RegistryEntry<MapDecorationType> decorationType) ModifierConstructorDescriptionMapDecoration
(RegistryEntry<MapDecorationType> registryEntry, byte x, byte z, byte rotation, Optional<Text> optional) -
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
static final PacketCodec
<RegistryByteBuf, RegistryEntry<ArmorTrimMaterial>> ArmorTrimMaterial.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<ArmorTrimPattern>> ArmorTrimPattern.ENTRY_PACKET_CODEC
private final Function
<RegistryEntry<ArmorMaterial>, Identifier> ArmorTrim.genericModelIdGetter
private final Function
<RegistryEntry<ArmorMaterial>, Identifier> ArmorTrim.leggingsModelIdGetter
private final Map
<RegistryEntry<ArmorMaterial>, String> ArmorTrimMaterial.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.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 TypeMethodDescriptionArmorTrimMaterial.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionboolean
ArmorTrim.equals
(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material) ArmorTrimPattern.getDescription
(RegistryEntry<ArmorTrimMaterial> material) ArmorTrim.getGenericModelId
(RegistryEntry<ArmorMaterial> armorMaterial) ArmorTrim.getLeggingsModelId
(RegistryEntry<ArmorMaterial> armorMaterial) private static String
ArmorTrim.getMaterialAssetNameFor
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorMaterial> armorMaterial) Modifier and TypeMethodDescriptionstatic ArmorTrimMaterial
ArmorTrimMaterial.of
(String assetName, Item ingredient, float itemModelIndex, Text description, Map<RegistryEntry<ArmorMaterial>, String> overrideArmorMaterials) private static void
ArmorTrimMaterials.register
(Registerable<ArmorTrimMaterial> registry, RegistryKey<ArmorTrimMaterial> key, Item ingredient, Style style, float itemModelIndex, Map<RegistryEntry<ArmorMaterial>, String> overrideArmorMaterials) ModifierConstructorDescriptionArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern) ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip) private
ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip, Function<RegistryEntry<ArmorMaterial>, Identifier> leggingsModelIdGetter, Function<RegistryEntry<ArmorMaterial>, Identifier> genericModelIdGetter) ArmorTrimMaterial
(String string, RegistryEntry<Item> registryEntry, float float2, Map<RegistryEntry<ArmorMaterial>, String> map, Text text) ArmorTrimPattern
(Identifier identifier, RegistryEntry<Item> registryEntry, Text text, boolean bool) ModifierConstructorDescriptionprivate
ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip, Function<RegistryEntry<ArmorMaterial>, Identifier> leggingsModelIdGetter, Function<RegistryEntry<ArmorMaterial>, Identifier> genericModelIdGetter) ArmorTrimMaterial
(String string, RegistryEntry<Item> registryEntry, float float2, Map<RegistryEntry<ArmorMaterial>, String> map, Text text) -
Uses of RegistryEntry in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<LootTable>> LootTable.ENTRY_CODEC
-
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> RandomChanceWithEnchantedBonusLootCondition.enchantment
The field for theenchantment
record component.private final RegistryEntry
<Enchantment> TableBonusLootCondition.enchantment
The field for theenchantment
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<LootCondition>> LootCondition.ENTRY_CODEC
Modifier and TypeMethodDescriptionBlockStatePropertyLootCondition.block()
Returns the value of theblock
record component.RandomChanceWithEnchantedBonusLootCondition.enchantment()
Returns the value of theenchantment
record component.TableBonusLootCondition.enchantment()
Returns the value of theenchantment
record component.Modifier and TypeMethodDescriptionstatic LootCondition.Builder
TableBonusLootCondition.builder
(RegistryEntry<Enchantment> enchantment, float[] chances) ModifierConstructorDescriptionBlockStatePropertyLootCondition
(RegistryEntry<Block> registryEntry, Optional<StatePredicate> optional) RandomChanceWithEnchantedBonusLootCondition
(float float2, EnchantmentLevelBasedValue enchantmentLevelBasedValue, RegistryEntry<Enchantment> registryEntry) 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> CopyStateLootFunction.block
private final RegistryEntry
<Block> CopyStateLootFunction.Builder.block
private RegistryEntry
<MapDecorationType> ExplorationMapLootFunction.Builder.decoration
private final RegistryEntry
<MapDecorationType> ExplorationMapLootFunction.decoration
static final RegistryEntry
<MapDecorationType> ExplorationMapLootFunction.DEFAULT_DECORATION
private final RegistryEntry
<StatusEffect> SetStewEffectLootFunction.StewEffect.effect
The field for theeffect
record component.private final RegistryEntry
<Enchantment> ApplyBonusLootFunction.enchantment
private final RegistryEntry
<Enchantment> EnchantedCountIncreaseLootFunction.Builder.enchantment
private final RegistryEntry
<Enchantment> EnchantedCountIncreaseLootFunction.enchantment
private final RegistryEntry
<Item> SetItemLootFunction.item
private final RegistryEntry
<Potion> SetPotionLootFunction.potion
private final RegistryEntry
<BlockEntityType<?>> SetLootTableLootFunction.type
Modifier and TypeFieldDescriptionprivate final ImmutableMap.Builder
<RegistryEntry<Enchantment>, LootNumberProvider> SetEnchantmentsLootFunction.Builder.enchantments
private final Map
<RegistryEntry<Enchantment>, LootNumberProvider> SetEnchantmentsLootFunction.enchantments
static final com.mojang.serialization.Codec
<RegistryEntry<LootFunction>> LootFunctionTypes.ENTRY_CODEC
Modifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.attribute()
Returns the value of theattribute
record component.SetStewEffectLootFunction.StewEffect.effect()
Returns the value of theeffect
record component.Modifier and TypeMethodDescriptionprivate static ItemStack
EnchantRandomlyLootFunction.addEnchantmentToStack
(ItemStack stack, RegistryEntry<Enchantment> enchantment, Random random) SetAttributesLootFunction.attributeBuilder
(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) static ConditionalLootFunction.Builder
<?> ApplyBonusLootFunction.binomialWithBonusCount
(RegistryEntry<Enchantment> enchantment, float probability, int extra) static ConditionalLootFunction.Builder
<?> SetPotionLootFunction.builder
(RegistryEntry<Potion> potion) SetEnchantmentsLootFunction.Builder.enchantment
(RegistryEntry<Enchantment> enchantment, LootNumberProvider level) EnchantRandomlyLootFunction.Builder.option
(RegistryEntry<Enchantment> enchantment) static ConditionalLootFunction.Builder
<?> ApplyBonusLootFunction.oreDrops
(RegistryEntry<Enchantment> enchantment) SetBannerPatternLootFunction.Builder.pattern
(RegistryEntry<BannerPattern> pattern, DyeColor color) static ConditionalLootFunction.Builder
<?> ApplyBonusLootFunction.uniformBonusCount
(RegistryEntry<Enchantment> enchantment) static ConditionalLootFunction.Builder
<?> ApplyBonusLootFunction.uniformBonusCount
(RegistryEntry<Enchantment> enchantment, int bonusMultiplier) ExplorationMapLootFunction.Builder.withDecoration
(RegistryEntry<MapDecorationType> decoration) SetStewEffectLootFunction.Builder.withEffect
(RegistryEntry<StatusEffect> effect, LootNumberProvider durationRange) ModifierConstructorDescriptionprivate
ApplyBonusLootFunction
(List<LootCondition> conditions, RegistryEntry<Enchantment> enchantment, ApplyBonusLootFunction.Formula formula) (package private)
Attribute
(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<AttributeModifierSlot> list) AttributeBuilder
(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) Builder
(RegistryEntry<Enchantment> enchantment, LootNumberProvider count) private
CopyStateLootFunction
(List<LootCondition> conditions, RegistryEntry<Block> block, List<String> properties) (package private)
CopyStateLootFunction
(List<LootCondition> conditions, RegistryEntry<Block> block, Set<Property<?>> properties) (package private)
EnchantedCountIncreaseLootFunction
(List<LootCondition> conditions, RegistryEntry<Enchantment> enchantment, LootNumberProvider count, int limit) (package private)
ExplorationMapLootFunction
(List<LootCondition> conditions, TagKey<Structure> destination, RegistryEntry<MapDecorationType> decoration, byte zoom, int searchRadius, boolean skipExistingChunks) private
SetItemLootFunction
(List<LootCondition> conditions, RegistryEntry<Item> item) private
SetLootTableLootFunction
(List<LootCondition> conditions, RegistryKey<LootTable> lootTable, 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.codec
Modifier and TypeMethodDescriptionstatic <T> PacketCodec
<RegistryByteBuf, RegistryEntry<T>> PacketCodecs.registryEntry
(RegistryKey<? extends Registry<T>> registry) Returns a codec for a referenceRegistryEntry
.static <T> PacketCodec
<RegistryByteBuf, RegistryEntry<T>> PacketCodecs.registryEntry
(RegistryKey<? extends Registry<T>> registry, PacketCodec<? super RegistryByteBuf, T> directCodec) Returns a codec for aRegistryEntry
. -
Uses of RegistryEntry in net.minecraft.network.message
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<MessageType> MessageType.Parameters.type
The field for thetype
record component.Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<MessageType>> MessageType.ENTRY_PACKET_CODEC
Modifier and TypeMethodDescriptionMessageType.Parameters.type()
Returns the value of thetype
record component.ModifierConstructorDescription(package private)
Parameters
(RegistryEntry<MessageType> type, Text name) Parameters
(RegistryEntry<MessageType> registryEntry, Text text, Optional<Text> optional) -
Uses of RegistryEntry in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntry<StatusEffect>> UpdateBeaconC2SPacket.primary
The field for theprimary
record component.private final Optional
<RegistryEntry<StatusEffect>> UpdateBeaconC2SPacket.secondary
The field for thesecondary
record component.Modifier and TypeMethodDescriptionUpdateBeaconC2SPacket.primary()
Returns the value of theprimary
record component.UpdateBeaconC2SPacket.secondary()
Returns the value of thesecondary
record component.ModifierConstructorDescriptionUpdateBeaconC2SPacket
(Optional<RegistryEntry<StatusEffect>> primaryEffectId, Optional<RegistryEntry<StatusEffect>> secondaryEffectId) -
Uses of RegistryEntry in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<EntityAttribute> EntityAttributesS2CPacket.Entry.attribute
The field for theattribute
record component.private final RegistryEntry
<DimensionType> CommonPlayerSpawnInfo.dimensionType
The field for thedimensionType
record component.private final RegistryEntry
<StatusEffect> RemoveEntityStatusEffectS2CPacket.effect
The field for theeffect
record component.private final RegistryEntry
<StatusEffect> EntityStatusEffectS2CPacket.effectId
private final RegistryEntry
<SoundEvent> PlaySoundFromEntityS2CPacket.sound
private final RegistryEntry
<SoundEvent> PlaySoundS2CPacket.sound
private final RegistryEntry
<SoundEvent> ExplosionS2CPacket.soundEvent
private final RegistryEntry
<DamageType> EntityDamageS2CPacket.sourceType
The field for thesourceType
record component.Modifier and TypeMethodDescriptionEntityAttributesS2CPacket.Entry.attribute()
Returns the value of theattribute
record component.CommonPlayerSpawnInfo.dimensionType()
Returns the value of thedimensionType
record component.RemoveEntityStatusEffectS2CPacket.effect()
Returns the value of theeffect
record component.EntityStatusEffectS2CPacket.getEffectId()
PlaySoundFromEntityS2CPacket.getSound()
PlaySoundS2CPacket.getSound()
ExplosionS2CPacket.getSoundEvent()
EntityDamageS2CPacket.sourceType()
Returns the value of thesourceType
record component.ModifierConstructorDescriptionCommonPlayerSpawnInfo
(RegistryEntry<DimensionType> registryEntry, RegistryKey<World> registryKey, long long2, GameMode gameMode, @Nullable GameMode gameMode2, boolean bool, boolean bool2, Optional<GlobalPos> optional, int int2) EntityDamageS2CPacket
(int int2, RegistryEntry<DamageType> registryEntry, int int3, int int4, Optional<Vec3d> optional) Entry
(RegistryEntry<EntityAttribute> registryEntry, double baseValue, Collection<EntityAttributeModifier> modifiers) ExplosionS2CPacket
(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, @Nullable Vec3d playerVelocity, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> registryEntry) PlaySoundFromEntityS2CPacket
(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) RemoveEntityStatusEffectS2CPacket
(int entityId, RegistryEntry<StatusEffect> registryEntry) -
Uses of RegistryEntry in net.minecraft.potion
Modifier and TypeFieldDescriptionstatic final RegistryEntry
<Potion> Potions.AWKWARD
static final RegistryEntry
<Potion> Potions.FIRE_RESISTANCE
static final RegistryEntry
<Potion> Potions.HARMING
static final RegistryEntry
<Potion> Potions.HEALING
static final RegistryEntry
<Potion> Potions.INFESTED
static final RegistryEntry
<Potion> Potions.INVISIBILITY
static final RegistryEntry
<Potion> Potions.LEAPING
static final RegistryEntry
<Potion> Potions.LONG_FIRE_RESISTANCE
static final RegistryEntry
<Potion> Potions.LONG_INVISIBILITY
static final RegistryEntry
<Potion> Potions.LONG_LEAPING
static final RegistryEntry
<Potion> Potions.LONG_NIGHT_VISION
static final RegistryEntry
<Potion> Potions.LONG_POISON
static final RegistryEntry
<Potion> Potions.LONG_REGENERATION
static final RegistryEntry
<Potion> Potions.LONG_SLOW_FALLING
static final RegistryEntry
<Potion> Potions.LONG_SLOWNESS
static final RegistryEntry
<Potion> Potions.LONG_STRENGTH
static final RegistryEntry
<Potion> Potions.LONG_SWIFTNESS
static final RegistryEntry
<Potion> Potions.LONG_TURTLE_MASTER
static final RegistryEntry
<Potion> Potions.LONG_WATER_BREATHING
static final RegistryEntry
<Potion> Potions.LONG_WEAKNESS
static final RegistryEntry
<Potion> Potions.LUCK
static final RegistryEntry
<Potion> Potions.MUNDANE
static final RegistryEntry
<Potion> Potions.NIGHT_VISION
static final RegistryEntry
<Potion> Potions.OOZING
static final RegistryEntry
<Potion> Potions.POISON
static final RegistryEntry
<Potion> Potions.REGENERATION
static final RegistryEntry
<Potion> Potions.SLOW_FALLING
static final RegistryEntry
<Potion> Potions.SLOWNESS
static final RegistryEntry
<Potion> Potions.STRENGTH
static final RegistryEntry
<Potion> Potions.STRONG_HARMING
static final RegistryEntry
<Potion> Potions.STRONG_HEALING
static final RegistryEntry
<Potion> Potions.STRONG_LEAPING
static final RegistryEntry
<Potion> Potions.STRONG_POISON
static final RegistryEntry
<Potion> Potions.STRONG_REGENERATION
static final RegistryEntry
<Potion> Potions.STRONG_SLOWNESS
static final RegistryEntry
<Potion> Potions.STRONG_STRENGTH
static final RegistryEntry
<Potion> Potions.STRONG_SWIFTNESS
static final RegistryEntry
<Potion> Potions.STRONG_TURTLE_MASTER
static final RegistryEntry
<Potion> Potions.SWIFTNESS
static final RegistryEntry
<Potion> Potions.THICK
static final RegistryEntry
<Potion> Potions.TURTLE_MASTER
static final RegistryEntry
<Potion> Potions.WATER
static final RegistryEntry
<Potion> Potions.WATER_BREATHING
static final RegistryEntry
<Potion> Potions.WEAKNESS
static final RegistryEntry
<Potion> Potions.WEAVING
static final RegistryEntry
<Potion> Potions.WIND_CHARGED
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<Potion>> Potion.CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<Potion>> Potion.PACKET_CODEC
Modifier and TypeMethodDescriptionprivate static RegistryEntry
<Potion> static RegistryEntry
<Potion> Potions.registerAndGetDefault
(Registry<Potion> registry) Modifier and TypeMethodDescriptionstatic String
Potion.finishTranslationKey
(Optional<RegistryEntry<Potion>> potion, String prefix) -
Uses of RegistryEntry in net.minecraft.predicate
-
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
(package private) final Function
<Entity, Optional<RegistryEntry<V>>> EntitySubPredicateTypes.DynamicVariantType.variantGetter
Modifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionEntityEffectPredicate.effects()
Returns the value of theeffects
record component.Modifier and TypeMethodDescriptionEntityEffectPredicate.Builder.addEffect
(RegistryEntry<StatusEffect> effect) EntityEffectPredicate.Builder.addEffect
(RegistryEntry<StatusEffect> effect, EntityEffectPredicate.EffectData effectData) static EntitySubPredicate
EntitySubPredicateTypes.catVariant
(RegistryEntry<CatVariant> catVariant) static LocationPredicate.Builder
LocationPredicate.Builder.createBiome
(RegistryEntry<Biome> biome) static LocationPredicate.Builder
LocationPredicate.Builder.createStructure
(RegistryEntry<Structure> structure) static EntitySubPredicate
EntitySubPredicateTypes.frogVariant
(RegistryEntry<FrogVariant> frogVariant) Modifier and TypeMethodDescriptionstatic <V> EntitySubPredicateTypes.DynamicVariantType
<V> EntitySubPredicateTypes.DynamicVariantType.create
(RegistryKey<? extends Registry<V>> registryRef, Function<Entity, Optional<RegistryEntry<V>>> variantGetter) boolean
EntityEffectPredicate.test
(Map<RegistryEntry<StatusEffect>, StatusEffectInstance> effects) 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) ModifierConstructorDescriptionDynamicVariantType
(RegistryKey<? extends Registry<V>> registryRef, Function<Entity, Optional<RegistryEntry<V>>> variantGetter) Creates an instance of aEntityEffectPredicate
record class. -
Uses of RegistryEntry in net.minecraft.predicate.item
Modifier and TypeMethodDescriptionprivate boolean
EnchantmentPredicate.testLevel
(ItemEnchantmentsComponent enchantmentsComponent, RegistryEntry<Enchantment> enchantment) ModifierConstructorDescriptionEnchantmentPredicate
(RegistryEntry<Enchantment> enchantment, NumberRange.IntRange levels) -
Uses of RegistryEntry in net.minecraft.recipe
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<T> BrewingRecipeRegistry.Recipe.from
The field for thefrom
record component.private final RegistryEntry
<T> BrewingRecipeRegistry.Recipe.to
The field for theto
record component.Modifier and TypeMethodDescriptionBrewingRecipeRegistry.Recipe.from()
Returns the value of thefrom
record component.BrewingRecipeRegistry.Recipe.to()
Returns the value of theto
record component.Modifier and TypeMethodDescriptionboolean
BrewingRecipeRegistry.isBrewable
(RegistryEntry<Potion> potion) void
BrewingRecipeRegistry.Builder.registerPotionRecipe
(RegistryEntry<Potion> input, Item ingredient, RegistryEntry<Potion> output) void
BrewingRecipeRegistry.Builder.registerRecipes
(Item ingredient, RegistryEntry<Potion> potion) ModifierConstructorDescription(package private)
Recipe
(RegistryEntry<T> registryEntry, Ingredient ingredient, RegistryEntry<T> registryEntry2) -
Uses of RegistryEntry in net.minecraft.registry
Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntry<T>> RegistryPair.entry
The field for theentry
record component.Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<RegistryEntry<T>, RegistryKey<T>> RegistryPair.asEither()
RegistryPair.entry()
Returns the value of theentry
record component.RegistryPair.getEntry
(RegistryWrapper.WrapperLookup registryLookup) default com.mojang.serialization.Codec
<RegistryEntry<T>> Registry.getEntryCodec()
Returns the codec for serializing the registry entry ofT
.default IndexedIterable
<RegistryEntry<T>> Registry.getIndexedEntries()
default Optional
<RegistryEntry<T>> Registry.getRandomEntry
(TagKey<T> tag, Random random) Returns a random entry fromtag
, or an emptyOptional
if the tag is empty.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 TypeMethodDescriptionprivate com.mojang.serialization.DataResult
<RegistryEntry.Reference<T>> Registry.validateReference
(RegistryEntry<T> entry) Modifier and TypeMethodDescriptionstatic <T> RegistryPair
<T> RegistryPair.create
(com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>> entryOrKey) static <T> com.mojang.serialization.Codec
<RegistryPair<T>> RegistryPair.createCodec
(RegistryKey<Registry<T>> registryRef, com.mojang.serialization.Codec<RegistryEntry<T>> entryCodec) static <T> PacketCodec
<RegistryByteBuf, RegistryPair<T>> RegistryPair.createPacketCodec
(RegistryKey<Registry<T>> registryRef, PacketCodec<RegistryByteBuf, RegistryEntry<T>> entryPacketCodec) void
Registry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) void
SimpleRegistry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) ModifierConstructorDescriptionRegistryPair
(Optional<RegistryEntry<T>> optional, RegistryKey<T> registryKey) -
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) boolean
RegistryEntry.Direct.matches
(RegistryEntry<T> entry) boolean
RegistryEntry.matches
(RegistryEntry<T> entry) Deprecated.boolean
RegistryEntry.Reference.matches
(RegistryEntry<T> entry) 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 TypeMethodDescriptionBeaconScreenHandler.getPrimaryEffect()
BeaconScreenHandler.getSecondaryEffect()
static @Nullable RegistryEntry
<StatusEffect> BeaconScreenHandler.getStatusEffectForRawId
(int id) Modifier and TypeMethodDescriptionLoomScreenHandler.getBannerPatterns()
private List
<RegistryEntry<BannerPattern>> LoomScreenHandler.getPatternsFor
(ItemStack stack) Modifier and TypeMethodDescriptionstatic int
BeaconScreenHandler.getRawIdForStatusEffect
(@Nullable RegistryEntry<StatusEffect> effect) private void
LoomScreenHandler.updateOutputSlot
(RegistryEntry<BannerPattern> pattern) Modifier and TypeMethodDescriptionvoid
BeaconScreenHandler.setEffects
(Optional<RegistryEntry<StatusEffect>> primary, Optional<RegistryEntry<StatusEffect>> secondary) -
Uses of RegistryEntry in net.minecraft.server.command
Modifier and TypeFieldDescriptionprivate static final Map
<com.mojang.datafixers.util.Pair<RegistryEntry<ArmorMaterial>, EquipmentSlot>, Item> SpawnArmorTrimsCommand.ARMOR_PIECES
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
ItemCommand.executeBlockCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockModify
(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
EffectCommand.executeClear
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) private static int
ItemCommand.executeEntityCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityModify
(ServerCommandSource source, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
LootCommand.executeFish
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, BlockPos pos, ItemStack stack, LootCommand.Target constructor) private static int
EffectCommand.executeGive
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable Integer seconds, int amplifier, boolean showParticles) private static int
LootCommand.executeLoot
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootCommand.Target constructor) private static int
AttributeCommand.executeModifierAdd
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double value, EntityAttributeModifier.Operation operation) private static int
AttributeCommand.executeModifierRemove
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id) private static int
AttributeCommand.executeModifierValueGet
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, 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) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome
(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome
(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter, Consumer<Supplier<Text>> feedbackConsumer) private static EntityAttributeInstance
AttributeCommand.getAttributeInstance
(Entity entity, RegistryEntry<EntityAttribute> attribute) private static int
LootCommand.getFeedbackMessageSingle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootContextParameterSet lootContextParameters, LootCommand.Target constructor) private static LivingEntity
AttributeCommand.getLivingEntityWithAttribute
(Entity entity, RegistryEntry<EntityAttribute> attribute) private static Text
AttributeCommand.getName
(RegistryEntry<EntityAttribute> attribute) private static ItemStack
ItemCommand.getStackWithModifier
(ServerCommandSource source, RegistryEntry<LootFunction> lootFunction, ItemStack stack) private static boolean
ExecuteCommand.testLootCondition
(ServerCommandSource source, RegistryEntry<LootCondition> lootCondition) 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) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fillBiome
(ServerWorld world, BlockPos from, BlockPos to, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter, Consumer<Supplier<Text>> feedbackConsumer) 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.network
Modifier and TypeMethodDescriptionstatic void
DebugInfoSender.sendGameEvent
(World world, RegistryEntry<GameEvent> event, Vec3d pos) -
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 TypeMethodDescriptionServerWorld.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.void
ServerWorld.emitGameEvent
(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.void
ServerWorld.playSound
(@Nullable PlayerEntity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) void
ServerWorld.playSoundFromEntity
(@Nullable PlayerEntity source, 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 TypeFieldDescriptionstatic final RegistryEntry
<SoundEvent> SoundEvents.ENTITY_LLAMA_SWAG
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_CHAIN
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_ELYTRA
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_GENERIC
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_GOLD
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_IRON
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_LEATHER
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_NETHERITE
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_TURTLE
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_ARMOR_EQUIP_WOLF
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_CROSSBOW_LOADING_END
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_CROSSBOW_LOADING_MIDDLE
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_CROSSBOW_LOADING_START
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_CROSSBOW_QUICK_CHARGE_1
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_CROSSBOW_QUICK_CHARGE_2
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_CROSSBOW_QUICK_CHARGE_3
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_TRIDENT_RIPTIDE_1
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_TRIDENT_RIPTIDE_2
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_TRIDENT_RIPTIDE_3
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_TRIDENT_THROW
static final RegistryEntry
<SoundEvent> SoundEvents.ITEM_TRIDENT_THUNDER
private 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
static final PacketCodec
<RegistryByteBuf, RegistryEntry<SoundEvent>> SoundEvent.ENTRY_PACKET_CODEC
Modifier and TypeMethodDescriptionBiomeAdditionsSound.getSound()
BiomeMoodSound.getSound()
MusicSound.getSound()
private static RegistryEntry
<SoundEvent> SoundEvents.register
(Identifier id, Identifier soundId, float distanceToTravel) Modifier and TypeMethodDescriptionstatic MusicSound
MusicType.createIngameMusic
(RegistryEntry<SoundEvent> sound) 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, StructurePoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, StructureLiquidSettings liquidSettings) StructurePoolElement.ofFeature
(RegistryEntry<PlacedFeature> placedFeatureEntry) StructurePoolElement.ofProcessedLegacySingle
(String id, RegistryEntry<StructureProcessorList> processorListEntry) StructurePoolElement.ofProcessedSingle
(String id, RegistryEntry<StructureProcessorList> processorListEntry) StructurePoolElement.ofProcessedSingle
(String id, RegistryEntry<StructureProcessorList> processorListEntry, StructureLiquidSettings liquidSettings) ModifierConstructorDescriptionprotected
FeaturePoolElement
(RegistryEntry<PlacedFeature> feature, StructurePool.Projection projection) protected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection, Optional<StructureLiquidSettings> overrideLiquidSettings) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection, Optional<StructureLiquidSettings> overrideLiquidSettings) 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.pool.alias
Modifier and TypeMethodDescriptionstatic void
StructurePoolAliasBindings.registerPools
(Registerable<StructurePool> pools, RegistryEntry<StructurePool> base, List<StructurePoolAliasBinding> aliases) -
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.test
Modifier and TypeMethodDescriptionvoid
TestContext.expectEntityHasEffect
(LivingEntity entity, RegistryEntry<StatusEffect> effect, int amplifier) -
Uses of RegistryEntry in net.minecraft.text
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<Item> HoverEvent.ItemStackContent.item
ModifierConstructorDescription(package private)
ItemStackContent
(RegistryEntry<Item> item, int count, ComponentChanges changes) -
Uses of RegistryEntry in net.minecraft.util
Modifier and TypeMethodDescriptionstatic RegistryEntry
<Item> JsonHelper.asItem
(JsonElement element, String name) static RegistryEntry
<Item> JsonHelper.getItem
(JsonObject object, String key) static @Nullable RegistryEntry
<Item> JsonHelper.getItem
(JsonObject object, String key, @Nullable RegistryEntry<Item> defaultValue) Modifier and TypeMethodDescriptionstatic @Nullable RegistryEntry
<Item> JsonHelper.getItem
(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 RegistryEntry
<MapDecorationType> TradeOffers.SellMapFactory.decoration
private final RegistryEntry
<Item> TradedItem.item
The field for theitem
record component.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 TypeMethodDescriptionTradedItem.item()
Returns the value of theitem
record component.Modifier and TypeMethodDescriptionVillagerProfession.acquirableWorkstation()
Returns the value of theacquirableWorkstation
record component.VillagerProfession.heldWorkstation()
Returns the value of theheldWorkstation
record component.Modifier and TypeMethodDescriptionprivate static ItemStack
TradedItem.createDisplayStack
(RegistryEntry<Item> item, int count, ComponentPredicate components) private static TradedItem
TradeOffers.createPotion
(RegistryEntry<Potion> potion) private static ItemStack
TradeOffers.createPotionStack
(RegistryEntry<Potion> potion) static 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) ModifierConstructorDescriptionSellMapFactory
(int price, TagKey<Structure> structure, String nameKey, RegistryEntry<MapDecorationType> decoration, int maxUses, int experience) SellSuspiciousStewFactory
(RegistryEntry<StatusEffect> effect, int duration, int experience) TradedItem
(RegistryEntry<Item> item, int count, ComponentPredicate components) TradedItem
(RegistryEntry<Item> registryEntry, int int2, ComponentPredicate componentPredicate, ItemStack itemStack) 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 TypeMethodDescriptionWorld.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, boolean particles, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.void
ChunkRegion.emitGameEvent
(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.default void
WorldAccess.emitGameEvent
(@Nullable Entity entity, RegistryEntry<GameEvent> event, BlockPos pos) default void
WorldAccess.emitGameEvent
(@Nullable Entity entity, RegistryEntry<GameEvent> event, Vec3d pos) default void
WorldAccess.emitGameEvent
(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) void
WorldAccess.emitGameEvent
(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.private static Pool
<SpawnSettings.SpawnEntry> SpawnHelper.getSpawnEntries
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) void
World.playSound
(@Nullable PlayerEntity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch) abstract void
World.playSound
(@Nullable PlayerEntity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) abstract void
World.playSoundFromEntity
(@Nullable PlayerEntity source, 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 PacketCodec
<RegistryByteBuf, RegistryEntry<DimensionType>> DimensionType.PACKET_CODEC
static final com.mojang.serialization.Codec
<RegistryEntry<DimensionType>> DimensionType.REGISTRY_CODEC
Modifier and TypeMethodDescriptionDimensionOptions.dimensionTypeEntry()
Returns the value of thedimensionTypeEntry
record component.Modifier and TypeMethodDescriptionstatic Map
<RegistryKey<DimensionOptions>, DimensionOptions> DimensionOptionsRegistryHolder.createRegistry
(Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, RegistryEntry<DimensionType> overworld, ChunkGenerator chunkGenerator) ModifierConstructorDescriptionDimensionOptions
(RegistryEntry<DimensionType> dimensionTypeEntry, ChunkGenerator chunkGenerator) Creates an instance of aDimensionOptions
record class. -
Uses of RegistryEntry in net.minecraft.world.event
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<RegistryEntry<GameEvent>> GameEvent.CODEC
Modifier and TypeMethodDescriptionGameEvent.Message.getEvent()
static RegistryEntry
<GameEvent> GameEvent.registerAndGetDefault
(Registry<GameEvent> registry) Modifier and TypeMethodDescriptionvoid
Vibrations.Callback.accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
Vibrations.Callback.accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.default boolean
Vibrations.Callback.canAccept
(RegistryEntry<GameEvent> gameEvent, GameEvent.Emitter emitter) void
Vibrations.VibrationListener.forceListen
(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) static int
Vibrations.getFrequency
(RegistryEntry<GameEvent> gameEvent) boolean
Vibrations.VibrationListener.listen
(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private void
Vibrations.VibrationListener.listen
(ServerWorld world, Vibrations.ListenerData listenerData, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos, Vec3d listenerPos) ModifierConstructorDescriptionMessage
(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter, GameEventListener listener, Vec3d listenerPos) -
Uses of RegistryEntry in net.minecraft.world.event.listener
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<GameEvent> Vibration.gameEvent
The field for thegameEvent
record component.Modifier and TypeMethodDescriptionVibration.gameEvent()
Returns the value of thegameEvent
record component.Modifier and TypeMethodDescriptionboolean
GameEventDispatcher.dispatch
(RegistryEntry<GameEvent> event, Vec3d pos, GameEvent.Emitter emitter, GameEventDispatcher.DispatchCallback callback) Dispatches an event to all the listeners in this dispatcher.void
GameEventDispatchManager.dispatch
(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) boolean
SimpleGameEventDispatcher.dispatch
(RegistryEntry<GameEvent> event, Vec3d pos, GameEvent.Emitter emitter, GameEventDispatcher.DispatchCallback callback) Dispatches an event to all the listeners in this dispatcher.boolean
GameEventListener.listen
(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.ModifierConstructorDescriptionVibration
(RegistryEntry<GameEvent> gameEvent, float distance, Vec3d pos, @Nullable UUID uuid, @Nullable UUID projectileOwnerUuid) Vibration
(RegistryEntry<GameEvent> registryEntry, float float2, Vec3d vec3d, @Nullable UUID uUID, @Nullable UUID uUID2, @Nullable Entity entity) -
Uses of RegistryEntry in net.minecraft.world.explosion
ModifierConstructorDescriptionExplosion
(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) Explosion
(World world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) -
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) Modifier and TypeMethodDescriptionStructureAccessor.getStructureContaining
(BlockPos pos, Predicate<RegistryEntry<Structure>> predicate) 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, List<StructurePoolAliasBinding> poolAliasBindings, DimensionPadding dimensionPadding, StructureLiquidSettings liquidSettings) 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)