Class CommandTests.ErrorCatchingStack
java.lang.Object
net.minecraft.commands.CommandSourceStack
net.neoforged.neoforge.debug.chat.CommandTests.ErrorCatchingStack
- All Implemented Interfaces:
- ExecutionCommandSource<CommandSourceStack>,- SharedSuggestionProvider,- ICommandSourceStackExtension
- Enclosing class:
- CommandTests
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.commands.SharedSuggestionProviderSharedSuggestionProvider.ElementSuggestionType, SharedSuggestionProvider.TextCoordinates
- 
Field SummaryFieldsFields inherited from class net.minecraft.commands.CommandSourceStackERROR_NOT_ENTITY, ERROR_NOT_PLAYER, source
- 
Constructor SummaryConstructorsConstructorDescriptionErrorCatchingStack(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable Entity p_81310_) 
- 
Method SummaryModifier and TypeMethodDescriptioncreateCommandSourceStack(Player player, int perm) voidsendFailure(Component failure) Methods inherited from class net.minecraft.commands.CommandSourceStackcallback, customSuggestion, dispatcher, enabledFeatures, facing, facing, getAllTeams, getAnchor, getAvailableSounds, getChatMessageChainer, getDisplayName, getEntity, getEntityOrException, getLevel, getOnlinePlayerNames, getPlayer, getPlayerOrException, getPosition, getRecipeNames, getRotation, getServer, getSigningContext, getTextName, handleError, hasPermission, isPlayer, isSilent, levels, registryAccess, sendChatMessage, sendSuccess, sendSystemMessage, shouldFilterMessageTo, suggestRegistryElements, withAnchor, withCallback, withCallback, withEntity, withLevel, withMaximumPermission, withPermission, withPosition, withRotation, withSigningContext, withSource, withSuppressedOutputMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.commands.ExecutionCommandSourceclearCallbacks, handleErrorMethods inherited from interface net.neoforged.neoforge.common.extensions.ICommandSourceStackExtensiongetAdvancement, getRecipeManager, getScoreboard, getUnsidedLevelMethods inherited from interface net.minecraft.commands.SharedSuggestionProvidergetAbsoluteCoordinates, getCustomTabSugggestions, getRelevantCoordinates, getSelectedEntities, suggestRegistryElements
- 
Field Details- 
errors
 
- 
- 
Constructor Details- 
ErrorCatchingStackpublic ErrorCatchingStack(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable @Nullable Entity p_81310_) 
 
- 
- 
Method Details- 
createCommandSourceStack
- 
sendFailure- Overrides:
- sendFailurein class- CommandSourceStack
 
 
-