Uses of Interface
net.minecraft.command.argument.RegistryEntryPredicateArgumentType.EntryPredicate
-
Uses of RegistryEntryPredicateArgumentType.EntryPredicate in net.minecraft.command.argument
Modifier and TypeClassDescriptionprivate static final record
private static final record
Modifier and TypeMethodDescriptionstatic <T> RegistryEntryPredicateArgumentType.EntryPredicate<T>
RegistryEntryPredicateArgumentType.getRegistryEntryPredicate
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) RegistryEntryPredicateArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) Modifier and TypeMethodDescriptionRegistryEntryPredicateArgumentType.EntryBased.tryCast
(RegistryKey<? extends Registry<E>> registryRef) RegistryEntryPredicateArgumentType.EntryPredicate.tryCast
(RegistryKey<? extends Registry<E>> registryRef) RegistryEntryPredicateArgumentType.TagBased.tryCast
(RegistryKey<? extends Registry<E>> registryRef) -
Uses of RegistryEntryPredicateArgumentType.EntryPredicate in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
LocateCommand.executeLocateBiome
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<Biome> predicate) private static int
LocateCommand.executeLocatePoi
(ServerCommandSource source, RegistryEntryPredicateArgumentType.EntryPredicate<PointOfInterestType> predicate) 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)