类 ClientCommandSourceStack
java.lang.Object
net.minecraft.commands.CommandSourceStack
net.minecraftforge.client.ClientCommandSourceStack
- 所有已实现的接口:
ExecutionCommandSource<CommandSourceStack>
,SharedSuggestionProvider
,IForgeCommandSourceStack
overrides for
CommandSourceStack
so that the methods will run successfully client side-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.commands.SharedSuggestionProvider
SharedSuggestionProvider.ElementSuggestionType, SharedSuggestionProvider.TextCoordinates
-
字段概要
从类继承的字段 net.minecraft.commands.CommandSourceStack
ERROR_NOT_ENTITY, ERROR_NOT_PLAYER, source
从接口继承的字段 net.minecraft.commands.SharedSuggestionProvider
MATCH_SPLITTER
-
构造器概要
构造器构造器说明ClientCommandSourceStack
(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
方法概要
修饰符和类型方法说明返回 the advancement from the id from the client side where the advancement needs to be visible to the player。返回 the list of teams from the client side。getLevel()
返回 the list of online player names from the client side。返回 the scoreboard from the client side。返回 the level from the client side。levels()
返回 a set ofResourceKey
for levels from the client side。返回 theRegistryAccess
from the client side。void
sendSuccess
(Supplier<Component> message, boolean sendToAdmins) Sends a success message without attempting to get the server side list of admins从类继承的方法 net.minecraft.commands.CommandSourceStack
callback, customSuggestion, dispatcher, enabledFeatures, facing, facing, getAnchor, getAvailableSounds, getChatMessageChainer, getDisplayName, getEntity, getEntityOrException, getPlayer, getPlayerOrException, getPosition, getRotation, getSigningContext, getTextName, handleError, hasPermission, isPlayer, isSilent, sendChatMessage, sendFailure, sendSystemMessage, shouldFilterMessageTo, suggestRegistryElements, withAnchor, withCallback, withCallback, withEntity, withLevel, withMaximumPermission, withPermission, withPosition, withRotation, withSigningContext, withSource, withSuppressedOutput
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.commands.ExecutionCommandSource
clearCallbacks, handleError
从接口继承的方法 net.minecraftforge.common.extensions.IForgeCommandSourceStack
getRecipeManager
从接口继承的方法 net.minecraft.commands.SharedSuggestionProvider
getAbsoluteCoordinates, getCustomTabSugggestions, getRelevantCoordinates, getSelectedEntities, suggestRegistryElements
-
构造器详细资料
-
ClientCommandSourceStack
-
-
方法详细资料
-
sendSuccess
Sends a success message without attempting to get the server side list of admins- 覆盖:
sendSuccess
在类中CommandSourceStack
-
getAllTeams
返回 the list of teams from the client side。- 指定者:
getAllTeams
在接口中SharedSuggestionProvider
- 覆盖:
getAllTeams
在类中CommandSourceStack
- 返回:
- the list of teams from the client side
-
getOnlinePlayerNames
返回 the list of online player names from the client side。- 指定者:
getOnlinePlayerNames
在接口中SharedSuggestionProvider
- 覆盖:
getOnlinePlayerNames
在类中CommandSourceStack
- 返回:
- the list of online player names from the client side
-
levels
返回 a set ofResourceKey
for levels from the client side。- 指定者:
levels
在接口中SharedSuggestionProvider
- 覆盖:
levels
在类中CommandSourceStack
- 返回:
- a set of
ResourceKey
for levels from the client side
-
registryAccess
返回 theRegistryAccess
from the client side。- 指定者:
registryAccess
在接口中SharedSuggestionProvider
- 覆盖:
registryAccess
在类中CommandSourceStack
- 返回:
- the
RegistryAccess
from the client side
-
getScoreboard
返回 the scoreboard from the client side。- 返回:
- the scoreboard from the client side
-
getAdvancement
返回 the advancement from the id from the client side where the advancement needs to be visible to the player。- 返回:
- the advancement from the id from the client side where the advancement needs to be visible to the player
-
getUnsidedLevel
返回 the level from the client side。- 返回:
- the level from the client side
-
getServer
- 覆盖:
getServer
在类中CommandSourceStack
- 抛出:
UnsupportedOperationException
- because the server isn't available on the client
-
getLevel
- 覆盖:
getLevel
在类中CommandSourceStack
- 抛出:
UnsupportedOperationException
- because the server side level isn't available on the client side
-