Uses of Class
net.minecraft.core.Holder.Reference
Packages that use Holder.Reference
Package
Description
-
Uses of Holder.Reference in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat(StatType<T> type, Holder.Reference<T> value, MinMaxBounds.Ints range) -
Uses of Holder.Reference in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<Biome> CreateBuffetWorldScreen.BiomeList.Entry.biomeConstructors in net.minecraft.client.gui.screens with parameters of type Holder.Reference -
Uses of Holder.Reference in net.minecraft.commands.arguments
Classes in net.minecraft.commands.arguments that implement interfaces with type arguments of type Holder.ReferenceFields in net.minecraft.commands.arguments declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<T> ResourceOrTagArgument.ResourceResult.valueThe field for thevaluerecord component.Methods in net.minecraft.commands.arguments that return Holder.ReferenceModifier and TypeMethodDescriptionstatic Holder.Reference<Attribute> ResourceArgument.getAttribute(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<WorldClock> ResourceArgument.getClock(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceKeyArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Enchantment> ResourceArgument.getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<EntityType<?>> ResourceArgument.getEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<MobEffect> ResourceArgument.getMobEffect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey) static Holder.Reference<Structure> ResourceArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Structure> ResourceKeyArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ResourceKeyArgument.getStructureTemplatePool(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<EntityType<?>> ResourceArgument.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder.Reference<Timeline> ResourceArgument.getTimeline(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ResourceArgument.parse(com.mojang.brigadier.StringReader reader) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) ResourceOrTagArgument.ResourceResult.value()Returns the value of thevaluerecord component.Methods in net.minecraft.commands.arguments that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.getSelectedResources(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ResourceSelectorArgument.parse(com.mojang.brigadier.StringReader reader) static <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.parse(com.mojang.brigadier.StringReader reader, HolderLookup<T> registry) com.mojang.datafixers.util.Either<Holder.Reference<T>, HolderSet.Named<T>> ResourceOrTagArgument.ResourceResult.unwrap()com.mojang.datafixers.util.Either<Holder.Reference<T>, HolderSet.Named<T>> ResourceOrTagArgument.Result.unwrap()com.mojang.datafixers.util.Either<Holder.Reference<T>, HolderSet.Named<T>> ResourceOrTagArgument.TagResult.unwrap()Constructors in net.minecraft.commands.arguments with parameters of type Holder.ReferenceModifierConstructorDescriptionprivateResourceResult(Holder.Reference<T> value) Creates an instance of aResourceResultrecord class. -
Uses of Holder.Reference in net.minecraft.commands.arguments.item
Methods in net.minecraft.commands.arguments.item with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static ItemPredicateArgument.PredicateWrapperItemPredicateArgument.createComponentExistencePredicate(Holder.Reference<DataComponentType<?>> componentId) Constructors in net.minecraft.commands.arguments.item with parameters of type Holder.ReferenceModifierConstructorDescription -
Uses of Holder.Reference in net.minecraft.core
Subclasses of Holder.Reference in net.minecraft.coreFields in net.minecraft.core declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate Holder.Reference<T> DefaultedMappedRegistry.defaultValueFields in net.minecraft.core with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectList<Holder.Reference<T>> MappedRegistry.byIdprivate final Map<ResourceKey<T>, Holder.Reference<T>> MappedRegistry.byKeyprivate final Map<Identifier, Holder.Reference<T>> MappedRegistry.byLocationprivate final Map<T, Holder.Reference<T>> MappedRegistry.byValueprivate final Optional<Holder.Reference<T>> RegistrySetBuilder.ValueAndHolder.holderThe field for theholderrecord component.private final Map<ResourceKey<Object>, Holder.Reference<Object>> RegistrySetBuilder.UniversalLookup.holdersprivate @Nullable Map<T, Holder.Reference<T>> MappedRegistry.unregisteredIntrusiveHoldersMethods in net.minecraft.core that return Holder.ReferenceModifier and TypeMethodDescriptionstatic <T> Holder.Reference<T> Holder.Reference.createIntrusive(HolderOwner<T> owner, @Nullable T value) Deprecated.MappedRegistry.createIntrusiveHolder(T value) Registry.createIntrusiveHolder(T value) static <T> Holder.Reference<T> Holder.Reference.createStandAlone(HolderOwner<T> owner, ResourceKey<T> key) private <T> Holder.Reference<T> RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> id) private Holder.Reference<T> MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> key) default Holder.Reference<T> HolderGetter.getOrThrow(ResourceKey<T> id) default <T> Holder.Reference<T> HolderGetter.Provider.getOrThrow(ResourceKey<T> id) DefaultedMappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) MappedRegistry.register(int id, ResourceKey<T> key, T value, RegistrationInfo registrationInfo) MappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) WritableRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) static <R, T extends R>
Holder.Reference<T> Registry.registerForHolder(Registry<R> registry, Identifier location, T value) static <R, T extends R>
Holder.Reference<T> Registry.registerForHolder(Registry<R> registry, ResourceKey<R> key, T value) private Holder.Reference<T> MappedRegistry.validateAndUnwrapTagElement(TagKey<T> id, Holder<T> value) Methods in net.minecraft.core that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionHolderGetter.get(ResourceKey<T> id) default <T> Optional<Holder.Reference<T>> HolderGetter.Provider.get(ResourceKey<T> id) default Optional<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> id) MappedRegistry.get(int id) MappedRegistry.get(Identifier id) MappedRegistry.get(ResourceKey<T> id) Registry.get(int id) Registry.get(Identifier id) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> id) DefaultedMappedRegistry.getAny()MappedRegistry.getAny()Registry.getAny()DefaultedMappedRegistry.getRandom(RandomSource random) MappedRegistry.getRandom(RandomSource random) Registry.getRandom(RandomSource random) RegistrySetBuilder.ValueAndHolder.holder()Returns the value of theholderrecord component.HolderLookup.listElements()default Stream<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.listElements()MappedRegistry.listElements()RegistrySetBuilder.UniversalLookup.listElements()private com.mojang.serialization.Codec<Holder.Reference<T>> Registry.referenceHolderWithLifecycle()private com.mojang.serialization.DataResult<Holder.Reference<T>> Registry.safeCastToReference(Holder<T> holder) Methods in net.minecraft.core with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> @Nullable TMappedRegistry.getValueFromNullable(@Nullable Holder.Reference<T> result) Method parameters in net.minecraft.core with type arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, HolderOwner<T> owner, Map<ResourceKey<T>, Holder.Reference<T>> entries) Constructor parameters in net.minecraft.core with type arguments of type Holder.ReferenceModifierConstructorDescriptionprivateValueAndHolder(RegistrySetBuilder.RegisteredValue<T> value, Optional<Holder.Reference<T>> holder) Creates an instance of aValueAndHolderrecord class. -
Uses of Holder.Reference in net.minecraft.core.component
Fields in net.minecraft.core.component declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<T> DataComponentInitializers.BakedEntry.elementThe field for theelementrecord component.Methods in net.minecraft.core.component that return Holder.ReferenceModifier and TypeMethodDescriptionDataComponentInitializers.BakedEntry.element()Returns the value of theelementrecord component.Method parameters in net.minecraft.core.component with type arguments of type Holder.ReferenceModifier and TypeMethodDescriptionvoidDataComponentInitializers.PendingComponents.forEach(BiConsumer<Holder.Reference<T>, DataComponentMap> output) Constructors in net.minecraft.core.component with parameters of type Holder.ReferenceModifierConstructorDescriptionprivateBakedEntry(Holder.Reference<T> element, DataComponentMap components) Creates an instance of aBakedEntryrecord class. -
Uses of Holder.Reference in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate final Map<ResourceKey<T>, Optional<Holder.Reference<T>>> ConcurrentHolderGetter.elementCacheMethods in net.minecraft.core.registries that return types with arguments of type Holder.Reference -
Uses of Holder.Reference in net.minecraft.data.advancements.packs
Fields in net.minecraft.data.advancements.packs with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate static final Comparator<Holder.Reference<?>> VanillaHusbandryAdvancements.HOLDER_KEY_COMPARATORMethods in net.minecraft.data.advancements.packs that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> Stream<Holder.Reference<T>> VanillaHusbandryAdvancements.sortedVariants(HolderLookup<T> variants) -
Uses of Holder.Reference in net.minecraft.data.tags
Methods in net.minecraft.data.tags that return types with arguments of type Holder.Reference -
Uses of Holder.Reference in net.minecraft.data.worldgen
Methods in net.minecraft.data.worldgen that return Holder.ReferenceModifier and TypeMethodDescriptiondefault Holder.Reference<T> BootstrapContext.register(ResourceKey<T> key, T value) BootstrapContext.register(ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) -
Uses of Holder.Reference in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<GameTestInstance> GameTestInfo.testFields in net.minecraft.gametest.framework with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate static final Set<Holder.Reference<GameTestInstance>> FailedTestTracker.LAST_FAILED_TESTSprivate final UnaryOperator<Supplier<Stream<Holder.Reference<GameTestInstance>>>> TestFinder.Builder.testFinderWrapperMethods in net.minecraft.gametest.framework that return Holder.ReferenceMethods in net.minecraft.gametest.framework that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionTestFinder.findTests()TestInstanceFinder.findTests()static Stream<Holder.Reference<GameTestInstance>> FailedTestTracker.getLastFailedTests()static Stream<Holder.Reference<GameTestInstance>> GameTestServer.getTestsForSelection(RegistryAccess registries, String selection) Methods in net.minecraft.gametest.framework with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionGameTestBatchFactory.TestDecorator.decorate(Holder.Reference<GameTestInstance> test, ServerLevel level) private Stream<GameTestInfo> GameTestServer.multiplyTest(Holder.Reference<GameTestInstance> test, ServerLevel level) static voidFailedTestTracker.rememberFailedTest(Holder.Reference<GameTestInstance> test) private static Stream<GameTestInfo> GameTestServer.rotateAndMultiply(Holder.Reference<GameTestInstance> test, ServerLevel level) Method parameters in net.minecraft.gametest.framework with type arguments of type Holder.ReferenceModifier and TypeMethodDescriptionTestFinder.Builder.byResourceSelection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> sourceStack, Collection<Holder.Reference<GameTestInstance>> holders) static List<GameTestBatch> GameTestBatchFactory.divideIntoBatches(Collection<Holder.Reference<GameTestInstance>> allTests, GameTestBatchFactory.TestDecorator decorator, ServerLevel level) Constructors in net.minecraft.gametest.framework with parameters of type Holder.ReferenceModifierConstructorDescriptionGameTestInfo(Holder.Reference<GameTestInstance> test, Rotation extraRotation, ServerLevel level, RetryOptions retryOptions) Constructor parameters in net.minecraft.gametest.framework with type arguments of type Holder.ReferenceModifierConstructorDescriptionprivateBuilder(UnaryOperator<Supplier<Stream<Holder.Reference<GameTestInstance>>>> testFinderWrapper, UnaryOperator<Supplier<Stream<BlockPos>>> structureBlockPosFinderWrapper) -
Uses of Holder.Reference in net.minecraft.resources
Methods in net.minecraft.resources that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, Holder.Reference<E>> RegistryOps.retrieveElement(ResourceKey<E> key) -
Uses of Holder.Reference in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static List<Holder.Reference<Item>> SpawnArmorTrimsCommand.findEquippableItemsWithAssets(HolderLookup<Item> items) Methods in net.minecraft.server.commands with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize) private static intFillBiomeCommand.fill(CommandSourceStack source, BlockPos rawFrom, BlockPos rawTo, Holder.Reference<Biome> biome, Predicate<Holder<Biome>> filter) static intPlaceCommand.placeFeature(CommandSourceStack source, Holder.Reference<ConfiguredFeature<?, ?>> featureHolder, BlockPos pos) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> structureHolder, BlockPos pos) private static intSummonCommand.spawnEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack source, Holder.Reference<EntityType<?>> type) Method parameters in net.minecraft.server.commands with type arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static intSpawnArmorTrimsCommand.spawnArmorTrims(CommandSourceStack source, Player player, Stream<Holder.Reference<TrimPattern>> patterns) -
Uses of Holder.Reference in net.minecraft.server.jsonrpc
Fields in net.minecraft.server.jsonrpc declared as Holder.ReferenceModifier and TypeFieldDescriptionstatic final Holder.Reference<OutgoingRpcMethod<GameRulesService.GameRuleUpdate<?>, Void>> OutgoingRpcMethods.GAMERULE_CHANGEDstatic final Holder.Reference<OutgoingRpcMethod<IpBanlistService.IpBanDto, Void>> OutgoingRpcMethods.IP_BANNEDstatic final Holder.Reference<OutgoingRpcMethod<String, Void>> OutgoingRpcMethods.IP_UNBANNEDprivate final Holder.Reference<? extends OutgoingRpcMethod<?, ? extends Result>> PendingRpcRequest.methodThe field for themethodrecord component.static final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> OutgoingRpcMethods.PLAYER_ADDED_TO_ALLOWLISTstatic final Holder.Reference<OutgoingRpcMethod<BanlistService.UserBanDto, Void>> OutgoingRpcMethods.PLAYER_BANNEDstatic final Holder.Reference<OutgoingRpcMethod<OperatorService.OperatorDto, Void>> OutgoingRpcMethods.PLAYER_DEOPEDstatic final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> OutgoingRpcMethods.PLAYER_JOINEDstatic final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> OutgoingRpcMethods.PLAYER_LEFTstatic final Holder.Reference<OutgoingRpcMethod<OperatorService.OperatorDto, Void>> OutgoingRpcMethods.PLAYER_OPEDstatic final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> OutgoingRpcMethods.PLAYER_REMOVED_FROM_ALLOWLISTstatic final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> OutgoingRpcMethods.PLAYER_UNBANNEDstatic final Holder.Reference<OutgoingRpcMethod<Void, Void>> OutgoingRpcMethods.SERVER_ACTIVITY_OCCURREDstatic final Holder.Reference<OutgoingRpcMethod<Void, Void>> OutgoingRpcMethods.SERVER_SAVE_COMPLETEDstatic final Holder.Reference<OutgoingRpcMethod<Void, Void>> OutgoingRpcMethods.SERVER_SAVE_STARTEDstatic final Holder.Reference<OutgoingRpcMethod<Void, Void>> OutgoingRpcMethods.SERVER_SHUTTING_DOWNstatic final Holder.Reference<OutgoingRpcMethod<Void, Void>> OutgoingRpcMethods.SERVER_STARTEDstatic final Holder.Reference<OutgoingRpcMethod<ServerStateService.ServerState, Void>> OutgoingRpcMethods.STATUS_HEARTBEATMethods in net.minecraft.server.jsonrpc that return Holder.ReferenceModifier and TypeMethodDescriptionHolder.Reference<? extends OutgoingRpcMethod<?, ? extends Result>> PendingRpcRequest.method()Returns the value of themethodrecord component.private Holder.Reference<OutgoingRpcMethod<Params, Result>> OutgoingRpcMethod.OutgoingRpcMethodBuilder.register(Identifier id) Methods in net.minecraft.server.jsonrpc with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate voidJsonRpcNotificationService.broadcastNotification(Holder.Reference<? extends OutgoingRpcMethod<Void, ?>> method) private <Params> voidJsonRpcNotificationService.broadcastNotification(Holder.Reference<? extends OutgoingRpcMethod<Params, ?>> method, Params params) voidConnection.sendNotification(Holder.Reference<? extends OutgoingRpcMethod<Void, ?>> method) <Params> voidConnection.sendNotification(Holder.Reference<? extends OutgoingRpcMethod<Params, ?>> method, Params params) <Result> CompletableFuture<Result> Connection.sendRequest(Holder.Reference<? extends OutgoingRpcMethod<Void, Result>> method) private <Params,Result>
@Nullable CompletableFuture<Result> Connection.sendRequest(Holder.Reference<? extends OutgoingRpcMethod<Params, ? extends Result>> method, @Nullable Params params, boolean expectReply) <Params,Result>
CompletableFuture<Result> Connection.sendRequest(Holder.Reference<? extends OutgoingRpcMethod<Params, Result>> method, Params params) Constructors in net.minecraft.server.jsonrpc with parameters of type Holder.ReferenceModifierConstructorDescriptionPendingRpcRequest(Holder.Reference<? extends OutgoingRpcMethod<?, ? extends Result>> method, CompletableFuture<Result> resultFuture, long timeoutTime) Creates an instance of aPendingRpcRequestrecord class. -
Uses of Holder.Reference in net.minecraft.sounds
Fields in net.minecraft.sounds declared as Holder.ReferenceModifier and TypeFieldDescriptionstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_BASALT_DELTAS_ADDITIONSstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_BASALT_DELTAS_LOOPstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_BASALT_DELTAS_MOODstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_CAVEstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_CRIMSON_FOREST_ADDITIONSstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_CRIMSON_FOREST_LOOPstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_CRIMSON_FOREST_MOODstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_NETHER_WASTES_ADDITIONSstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_NETHER_WASTES_LOOPstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_NETHER_WASTES_MOODstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_SOUL_SAND_VALLEY_ADDITIONSstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_SOUL_SAND_VALLEY_LOOPstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_SOUL_SAND_VALLEY_MOODstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_WARPED_FOREST_ADDITIONSstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_WARPED_FOREST_LOOPstatic final Holder.Reference<SoundEvent> SoundEvents.AMBIENT_WARPED_FOREST_MOODstatic final Holder.Reference<SoundEvent> SoundEvents.ARMOR_EQUIP_NAUTILUSstatic final Holder.Reference<SoundEvent> SoundEvents.ARMOR_UNEQUIP_NAUTILUSstatic final Holder.Reference<SoundEvent> SoundEvents.BREEZE_WIND_CHARGE_BURSTstatic final Holder.Reference<SoundEvent> SoundEvents.CAMEL_HUSK_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.CAMEL_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_AMBIENT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_BEG_FOR_FOOD_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_DEATH_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_EAT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_HISS_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_HURT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_PURR_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_PURREOW_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CAT_STRAY_AMBIENT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CHICKEN_AMBIENT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CHICKEN_DEATH_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CHICKEN_HURT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.CHICKEN_STEPstatic final Holder.Reference<SoundEvent> SoundEvents.CHICKEN_STEP_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.GENERIC_DRINKstatic final Holder.Reference<SoundEvent> SoundEvents.GENERIC_EATstatic final Holder.Reference<SoundEvent> SoundEvents.GENERIC_EXPLODEstatic final Holder.Reference<SoundEvent> SoundEvents.HARNESS_EQUIPstatic final Holder.Reference<SoundEvent> SoundEvents.HONEY_DRINKstatic final Holder.Reference<SoundEvent> SoundEvents.HORSE_ARMORstatic final Holder.Reference<SoundEvent> SoundEvents.HORSE_ARMOR_UNEQUIPstatic final Holder.Reference<SoundEvent> SoundEvents.HORSE_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.ITEM_BREAKstatic final Holder.Reference<SoundEvent> SoundEvents.LLAMA_CARPET_UNEQUIPstatic final Holder.Reference<SoundEvent> SoundEvents.LLAMA_SWAGstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_BADLANDSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_BAMBOO_JUNGLEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_BASALT_DELTASstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_CHERRY_GROVEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_CRIMSON_FORESTstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_DEEP_DARKstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_DESERTstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_DRIPSTONE_CAVESstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_FLOWER_FORESTstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_FORESTstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_FROZEN_PEAKSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_GROVEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_JAGGED_PEAKSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_JUNGLEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_LUSH_CAVESstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_MEADOWstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_NETHER_WASTESstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_OLD_GROWTH_TAIGAstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_SNOWY_SLOPESstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_SOUL_SAND_VALLEYstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_SPARSE_JUNGLEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_STONY_PEAKSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_SWAMPstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_BIOME_WARPED_FORESTstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_CREATIVEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_CREDITSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_11static final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_13static final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_5static final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_BLOCKSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CATstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CHIRPstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CREATORstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CREATOR_MUSIC_BOXstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_FARstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_LAVA_CHICKENstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_MALLstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_MELLOHIstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_OTHERSIDEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_PIGSTEPstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_PRECIPICEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_RELICstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_STALstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_STRADstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_TEARSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_WAITstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_WARDstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DRAGONstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_ENDstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_GAMEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_MENUstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_UNDER_WATERstatic final Holder.Reference<SoundEvent> SoundEvents.NAUTILUS_SADDLE_EQUIPstatic final Holder.Reference<SoundEvent> SoundEvents.NAUTILUS_SADDLE_UNDERWATER_EQUIPstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_BANJOstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_BASEDRUMstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_BASSstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_BELLstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_BITstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_CHIMEstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_COW_BELLstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_DIDGERIDOOstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_FLUTEstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_GUITARstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_HARPstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_HATstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_IMITATE_CREEPERstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_IMITATE_ENDER_DRAGONstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_IMITATE_PIGLINstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_IMITATE_SKELETONstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_IMITATE_WITHER_SKELETONstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_IMITATE_ZOMBIEstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_IRON_XYLOPHONEstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_PLINGstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_SNAREstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_TRUMPETstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_TRUMPET_EXPOSEDstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_TRUMPET_OXIDIZEDstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_TRUMPET_WEATHEREDstatic final Holder.Reference<SoundEvent> SoundEvents.NOTE_BLOCK_XYLOPHONEstatic final Holder.Reference<SoundEvent> SoundEvents.OMINOUS_BOTTLE_DISPOSEstatic final Holder.Reference<SoundEvent> SoundEvents.PIG_AMBIENT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.PIG_DEATH_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.PIG_HURT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.PIG_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.PIG_STEPstatic final Holder.Reference<SoundEvent> SoundEvents.PIG_STEP_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.RAID_HORNstatic final Holder.Reference<SoundEvent> SoundEvents.RESPAWN_ANCHOR_DEPLETEstatic final Holder.Reference<SoundEvent> SoundEvents.SADDLE_UNEQUIPstatic final Holder.Reference<SoundEvent> SoundEvents.SHIELD_BLOCKstatic final Holder.Reference<SoundEvent> SoundEvents.SHIELD_BREAKstatic final Holder.Reference<SoundEvent> SoundEvents.SOUL_ESCAPEstatic final Holder.Reference<SoundEvent> SoundEvents.STRIDER_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.UI_BUTTON_CLICKstatic final Holder.Reference<SoundEvent> SoundEvents.WIND_CHARGE_BURSTstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_AMBIENT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_ARMOR_BREAKstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_DEATH_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_GROWL_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_HURT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_PANT_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_STEPstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_STEP_BABYstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_WHINE_BABYFields in net.minecraft.sounds with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionstatic final ImmutableList<Holder.Reference<SoundEvent>> SoundEvents.GOAT_HORN_SOUND_VARIANTSMethods in net.minecraft.sounds that return Holder.ReferenceModifier and TypeMethodDescriptionprivate static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(String id) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(Identifier id) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(Identifier id, Identifier soundId) Methods in net.minecraft.sounds that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static ImmutableList<Holder.Reference<SoundEvent>> SoundEvents.registerGoatHornSoundVariants() -
Uses of Holder.Reference in net.minecraft.util
Fields in net.minecraft.util with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Object>, Holder.Reference<Object>> PlaceholderLookupProvider.holdersMethods in net.minecraft.util that return Holder.ReferenceModifier and TypeMethodDescriptionprivate Holder.Reference<Object> PlaceholderLookupProvider.UniversalLookup.getOrCreate(ResourceKey<Object> id) PlaceholderLookupProvider.UniversalLookup.getOrThrow(ResourceKey<Object> id) Methods in net.minecraft.util that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionPlaceholderLookupProvider.UniversalLookup.get(ResourceKey<Object> id) -
Uses of Holder.Reference in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<EntityType<?>> EntityType.builtInRegistryHolderMethods in net.minecraft.world.entity that return Holder.Reference -
Uses of Holder.Reference in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel that return Holder.ReferenceModifier and TypeMethodDescriptionprotected Holder.Reference<SoundEvent> Camel.getSaddleSound()protected Holder.Reference<SoundEvent> CamelHusk.getSaddleSound() -
Uses of Holder.Reference in net.minecraft.world.entity.variant
Methods in net.minecraft.world.entity.variant that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic <T extends PriorityProvider<SpawnContext, ?>>
Optional<Holder.Reference<T>> VariantUtils.selectVariantToSpawn(SpawnContext context, ResourceKey<Registry<T>> variantRegistry) -
Uses of Holder.Reference in net.minecraft.world.item
Fields in net.minecraft.world.item declared as Holder.ReferenceMethods in net.minecraft.world.item that return Holder.ReferenceMethods in net.minecraft.world.item with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionvoidItemStack.causeUseVibration(Entity causer, Holder.Reference<GameEvent> event) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> context, ResourceKey<JukeboxSong> registryKey, Holder.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) -
Uses of Holder.Reference in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as Holder.ReferenceModifier and TypeFieldDescriptionstatic final Holder.Reference<Potion> Potions.AWKWARDstatic final Holder.Reference<Potion> Potions.FIRE_RESISTANCEstatic final Holder.Reference<Potion> Potions.HARMINGstatic final Holder.Reference<Potion> Potions.HEALINGstatic final Holder.Reference<Potion> Potions.INFESTEDstatic final Holder.Reference<Potion> Potions.INVISIBILITYstatic final Holder.Reference<Potion> Potions.LEAPINGstatic final Holder.Reference<Potion> Potions.LONG_FIRE_RESISTANCEstatic final Holder.Reference<Potion> Potions.LONG_INVISIBILITYstatic final Holder.Reference<Potion> Potions.LONG_LEAPINGstatic final Holder.Reference<Potion> Potions.LONG_NIGHT_VISIONstatic final Holder.Reference<Potion> Potions.LONG_POISONstatic final Holder.Reference<Potion> Potions.LONG_REGENERATIONstatic final Holder.Reference<Potion> Potions.LONG_SLOW_FALLINGstatic final Holder.Reference<Potion> Potions.LONG_SLOWNESSstatic final Holder.Reference<Potion> Potions.LONG_STRENGTHstatic final Holder.Reference<Potion> Potions.LONG_SWIFTNESSstatic final Holder.Reference<Potion> Potions.LONG_TURTLE_MASTERstatic final Holder.Reference<Potion> Potions.LONG_WATER_BREATHINGstatic final Holder.Reference<Potion> Potions.LONG_WEAKNESSstatic final Holder.Reference<Potion> Potions.LUCKstatic final Holder.Reference<Potion> Potions.MUNDANEstatic final Holder.Reference<Potion> Potions.NIGHT_VISIONstatic final Holder.Reference<Potion> Potions.OOZINGstatic final Holder.Reference<Potion> Potions.POISONstatic final Holder.Reference<Potion> Potions.REGENERATIONstatic final Holder.Reference<Potion> Potions.SLOW_FALLINGstatic final Holder.Reference<Potion> Potions.SLOWNESSstatic final Holder.Reference<Potion> Potions.STRENGTHstatic final Holder.Reference<Potion> Potions.STRONG_HARMINGstatic final Holder.Reference<Potion> Potions.STRONG_HEALINGstatic final Holder.Reference<Potion> Potions.STRONG_LEAPINGstatic final Holder.Reference<Potion> Potions.STRONG_POISONstatic final Holder.Reference<Potion> Potions.STRONG_REGENERATIONstatic final Holder.Reference<Potion> Potions.STRONG_SLOWNESSstatic final Holder.Reference<Potion> Potions.STRONG_STRENGTHstatic final Holder.Reference<Potion> Potions.STRONG_SWIFTNESSstatic final Holder.Reference<Potion> Potions.STRONG_TURTLE_MASTERstatic final Holder.Reference<Potion> Potions.SWIFTNESSstatic final Holder.Reference<Potion> Potions.THICKstatic final Holder.Reference<Potion> Potions.TURTLE_MASTERstatic final Holder.Reference<Potion> Potions.WATERstatic final Holder.Reference<Potion> Potions.WATER_BREATHINGstatic final Holder.Reference<Potion> Potions.WEAKNESSstatic final Holder.Reference<Potion> Potions.WEAVINGstatic final Holder.Reference<Potion> Potions.WIND_CHARGEDMethods in net.minecraft.world.item.alchemy that return Holder.ReferenceModifier and TypeMethodDescriptionstatic Holder.Reference<Potion> private static Holder.Reference<Potion> -
Uses of Holder.Reference in net.minecraft.world.item.trading
Methods in net.minecraft.world.item.trading that return Holder.ReferenceModifier and TypeMethodDescriptionstatic Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag, NumberProvider numberProvider) static Holder.Reference<VillagerTrade> VillagerTrades.register(BootstrapContext<VillagerTrade> context, ResourceKey<VillagerTrade> resourceKey, VillagerTrade villagerTrade) -
Uses of Holder.Reference in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<Block> Block.builtInRegistryHolderMethods in net.minecraft.world.level.block that return Holder.Reference -
Uses of Holder.Reference in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<BlockEntityType<?>> BlockEntityType.builtInRegistryHolderMethods in net.minecraft.world.level.block.entity that return Holder.ReferenceMethods in net.minecraft.world.level.block.entity that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate Optional<Holder.Reference<GameTestInstance>> TestInstanceBlockEntity.getTestHolder()Methods in net.minecraft.world.level.block.entity with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionvoidShelfBlockEntity.setChanged(@Nullable Holder.Reference<GameEvent> event) -
Uses of Holder.Reference in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as Holder.ReferenceModifier and TypeFieldDescriptionstatic final Holder.Reference<GameEvent> GameEvent.BLOCK_ACTIVATEstatic final Holder.Reference<GameEvent> GameEvent.BLOCK_ATTACHThis event is broadcast when a block is attached to another.static final Holder.Reference<GameEvent> GameEvent.BLOCK_CHANGEThis event is broadcast when a block is changed.static final Holder.Reference<GameEvent> GameEvent.BLOCK_CLOSEThis event is broadcast when a block such as a door, trap door, or gate is closed.static final Holder.Reference<GameEvent> GameEvent.BLOCK_DEACTIVATEstatic final Holder.Reference<GameEvent> GameEvent.BLOCK_DESTROYThis event is broadcast when a block is destroyed or picked up by an enderman.static final Holder.Reference<GameEvent> GameEvent.BLOCK_DETACHThis event is broadcast when a block is detached from another block.static final Holder.Reference<GameEvent> GameEvent.BLOCK_OPENThis event is broadcast when a block such as a door, trap door, or gate has been opened.static final Holder.Reference<GameEvent> GameEvent.BLOCK_PLACEThis event is broadcast when a block is placed in the world.static final Holder.Reference<GameEvent> GameEvent.CONTAINER_CLOSEThis event is broadcast when a block with a storage inventory such as a chest or barrel is closed.static final Holder.Reference<GameEvent> GameEvent.CONTAINER_OPENThis event is broadcast when a block with a storage inventory such as a chest or barrel is opened.static final Holder.Reference<GameEvent> GameEvent.DRINKstatic final Holder.Reference<GameEvent> GameEvent.EATThis event is broadcast when an entity consumes food.static final Holder.Reference<GameEvent> GameEvent.ELYTRA_GLIDEstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_ACTIONstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_DAMAGEstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_DIEstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_DISMOUNTstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_INTERACTstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_MOUNTstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_PLACEThis event is broadcast when an entity is artificially placed in the world using an item.static final Holder.Reference<GameEvent> GameEvent.EQUIPThis event is broadcast when an item is equipped to an entity or armor stand.static final Holder.Reference<GameEvent> GameEvent.EXPLODEThis event is broadcast when an entity such as a creeper, tnt, or a firework explodes.static final Holder.Reference<GameEvent> GameEvent.FLAPThis event is broadcast when a flying entity such as the ender dragon flaps its wings.static final Holder.Reference<GameEvent> GameEvent.FLUID_PICKUPThis event is broadcast when a fluid is picked up.static final Holder.Reference<GameEvent> GameEvent.FLUID_PLACEThis event is broadcast when fluid is placed.static final Holder.Reference<GameEvent> GameEvent.HIT_GROUNDThis event is broadcast when an entity falls far enough to take fall damage.static final Holder.Reference<GameEvent> GameEvent.INSTRUMENT_PLAYstatic final Holder.Reference<GameEvent> GameEvent.ITEM_INTERACT_FINISHstatic final Holder.Reference<GameEvent> GameEvent.ITEM_INTERACT_STARTstatic final Holder.Reference<GameEvent> GameEvent.JUKEBOX_PLAYstatic final Holder.Reference<GameEvent> GameEvent.JUKEBOX_STOP_PLAYstatic final Holder.Reference<GameEvent> GameEvent.LIGHTNING_STRIKEThis event is broadcast when lightning strikes a block.static final Holder.Reference<GameEvent> GameEvent.NOTE_BLOCK_PLAYstatic final Holder.Reference<GameEvent> GameEvent.PRIME_FUSEThis event is broadcast when an entity such as a creeper or TNT begins exploding.static final Holder.Reference<GameEvent> GameEvent.PROJECTILE_LANDThis event is broadcast when a projectile hits something.static final Holder.Reference<GameEvent> GameEvent.PROJECTILE_SHOOTThis event is broadcast when a projectile is fired.static final Holder.Reference<GameEvent> GameEvent.RESONATE_1static final Holder.Reference<GameEvent> GameEvent.RESONATE_10static final Holder.Reference<GameEvent> GameEvent.RESONATE_11static final Holder.Reference<GameEvent> GameEvent.RESONATE_12static final Holder.Reference<GameEvent> GameEvent.RESONATE_13static final Holder.Reference<GameEvent> GameEvent.RESONATE_14static final Holder.Reference<GameEvent> GameEvent.RESONATE_15static final Holder.Reference<GameEvent> GameEvent.RESONATE_2static final Holder.Reference<GameEvent> GameEvent.RESONATE_3static final Holder.Reference<GameEvent> GameEvent.RESONATE_4static final Holder.Reference<GameEvent> GameEvent.RESONATE_5static final Holder.Reference<GameEvent> GameEvent.RESONATE_6static final Holder.Reference<GameEvent> GameEvent.RESONATE_7static final Holder.Reference<GameEvent> GameEvent.RESONATE_8static final Holder.Reference<GameEvent> GameEvent.RESONATE_9static final Holder.Reference<GameEvent> GameEvent.SCULK_SENSOR_TENDRILS_CLICKINGstatic final Holder.Reference<GameEvent> GameEvent.SHEARThis event is broadcast when a shear is used.static final Holder.Reference<GameEvent> GameEvent.SHRIEKstatic final Holder.Reference<GameEvent> GameEvent.SPLASHThis event is broadcast wen an entity splashes in the water.static final Holder.Reference<GameEvent> GameEvent.STEPThis event is broadcast when an entity moves on the ground.static final Holder.Reference<GameEvent> GameEvent.SWIMThis event is broadcast as an entity swims around in water.static final Holder.Reference<GameEvent> GameEvent.TELEPORTstatic final Holder.Reference<GameEvent> GameEvent.UNEQUIPMethods in net.minecraft.world.level.gameevent that return Holder.ReferenceModifier and TypeMethodDescriptionprivate static Holder.Reference<GameEvent> private static Holder.Reference<GameEvent> -
Uses of Holder.Reference in net.minecraft.world.level.levelgen
Constructors in net.minecraft.world.level.levelgen with parameters of type Holder.Reference -
Uses of Holder.Reference in net.minecraft.world.level.levelgen.flat
Constructors in net.minecraft.world.level.levelgen.flat with parameters of type Holder.ReferenceModifierConstructorDescriptionprivateFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> structureOverrides, List<FlatLayerInfo> layers, boolean lakes, boolean features, Optional<Holder<Biome>> biome, Holder.Reference<Biome> fallbackBiome, Holder<PlacedFeature> lavaUnderground, Holder<PlacedFeature> lavaSurface) -
Uses of Holder.Reference in net.minecraft.world.level.material
Fields in net.minecraft.world.level.material declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<Fluid> Fluid.builtInRegistryHolderMethods in net.minecraft.world.level.material that return Holder.Reference -
Uses of Holder.Reference in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptiondefault <T> Optional<Holder.Reference<T>> IHolderLookupProviderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey.default <T> Optional<Holder.Reference<T>> ILevelReaderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey. seeIHolderLookupProviderExtension -
Uses of Holder.Reference in net.neoforged.neoforge.event.enchanting
Methods in net.neoforged.neoforge.event.enchanting that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionGetEnchantmentLevelEvent.getHolder(ResourceKey<Enchantment> key) Attempts to resolve aHolder.Referencefor a target enchantment. -
Uses of Holder.Reference in net.neoforged.neoforge.server
Methods in net.neoforged.neoforge.server with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> voidServerLifecycleHooks.ensureProperSync(boolean modified, Holder.Reference<T> holder, Registry<T> registry)