net.minecraft.server.command.source

public class CommandSourceStack

implements SuggestionProvider

bu
net.minecraft.unmapped.C_30485881
net.minecraft.server.command.source.CommandSourceStack
net.minecraft.command.CommandSource

Field summary

Modifier and TypeField
public static final SimpleCommandExceptionType
a
f_76849819
NOT_PLAYER_EXCEPTION
field_197039_a
public static final SimpleCommandExceptionType
b
f_99017602
NOT_ENTITY_EXCEPTION
field_197040_b
private final CommandSource
c
f_76409398
source
field_197041_c
private final Vec3d
d
f_26314344
pos
field_197042_d
private final ServerWorld
e
f_05360387
world
field_197043_e
private final int
f
f_38766176
permissions
field_197044_f
private final String
g
f_81278635
name
field_197045_g
private final Text
h
f_73546573
displayName
field_197046_h
private final MinecraftServer
i
f_29309146
server
field_197047_i
private final boolean
j
f_12688647
silent
field_197048_j
private final Entity
k
f_74139526
entity
field_197049_k
private final ResultConsumer<CommandSourceStack>
l
f_07432687
callback
field_197050_l
private final AnchorArgument$Anchor
m
f_58644626
anchor
field_201011_m
private final Vec2f
n
f_03097735
rotation
field_201012_n

Constructor summary

ModifierConstructor
public (CommandSource source, Vec3d pos, Vec2f rotation, ServerWorld world, int permissions, String name, Text displayName, MinecraftServer server, Entity entity)
protected (CommandSource source, Vec3d pos, Vec2f rotation, ServerWorld world, int permissions, String name, Text displayName, MinecraftServer server, Entity entity, boolean silent, ResultConsumer<CommandSourceStack> callback, AnchorArgument$Anchor anchor)

Method summary

Modifier and TypeMethod
public CommandSourceStack
a(aer arg0)
m_56251174(C_42232651 arg0)
withEntity(Entity entity)
func_197024_a(Entity arg0)
public CommandSourceStack
a(ced arg0)
m_53064343(C_94584382 arg0)
withPos(Vec3d pos)
func_201009_a(Vec3d arg0)
public CommandSourceStack
a(cec arg0)
m_92500471(C_40489795 arg0)
withRotation(Vec2f rotation)
func_201007_a(Vec2f arg0)
public CommandSourceStack
a(ResultConsumer<bu> arg0)
m_75915163(com.mojang.brigadier.ResultConsumer<C_30485881> arg0)
withCallback(com.mojang.brigadier.ResultConsumer<CommandSourceStack> callback)
func_197029_a(com.mojang.brigadier.ResultConsumer<CommandSource> arg0)
public CommandSourceStack
a(ResultConsumer<bu> arg0, BinaryOperator<ResultConsumer<bu>> arg1)
m_99222090(com.mojang.brigadier.ResultConsumer<C_30485881> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<C_30485881>> arg1)
withCallback(com.mojang.brigadier.ResultConsumer<CommandSourceStack> callback, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSourceStack>> chooser)
func_209550_a(com.mojang.brigadier.ResultConsumer<CommandSource> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>> arg1)
public CommandSourceStack
a()
m_99235611()
silent()
func_197031_a()
public CommandSourceStack
a(int arg0)
m_28243306(int arg0)
withPermissions(int permissions)
func_197033_a(int arg0)
public CommandSourceStack
b(int arg0)
m_56864608(int arg0)
withMaxPermissions(int maxPermissions)
func_197026_b(int arg0)
public CommandSourceStack
a(ca$a arg0)
m_04129296(C_61522474$C_14972222 arg0)
withAnchor(AnchorArgument$Anchor anchor)
func_201010_a(EntityAnchorArgument$Type arg0)
public CommandSourceStack
a(td arg0)
m_79760222(C_70668269 arg0)
withWorld(ServerWorld world)
func_201003_a(WorldServer arg0)
public CommandSourceStack
a(aer arg0, ca$a arg1)
m_19553257(C_42232651 arg0, C_61522474$C_14972222 arg1)
withFacing(Entity entity, AnchorArgument$Anchor anchor)
func_201006_a(Entity arg0, EntityAnchorArgument$Type arg1)
public CommandSourceStack
b(ced arg0)
m_24274714(C_94584382 arg0)
withFacing(Vec3d rotation)
func_201005_b(Vec3d arg0)
public Text
b()
m_17912054()
getDisplayName()
func_197019_b()
public String
c()
m_43384532()
getName()
func_197037_c()
public boolean
c(int arg0)
m_89716505(int arg0)
hasPermissions(int arg0)
func_197034_c(int arg0)
public Vec3d
d()
m_46738960()
getPos()
func_197036_d()
public ServerWorld
e()
m_01127121()
getWorld()
func_197023_e()
public Entity
f()
m_95035335()
getEntity()
func_197022_f()
public Entity
g()
m_53175573()
getEntityOrThrow()
func_197027_g()
public ServerPlayerEntity
h()
m_48612434()
getPlayerOrThrow()
func_197035_h()
public Vec2f
i()
m_34121918()
getRotation()
func_201004_i()
public MinecraftServer
j()
m_51915645()
getServer()
func_197028_i()
public AnchorArgument$Anchor
k()
m_87899928()
getAnchor()
func_201008_k()
public void
a(ij arg0, boolean arg1)
m_68738922(C_95231345 arg0, boolean arg1)
sendSuccess(Text message, boolean broadcastToOps)
func_197030_a(ITextComponent arg0, boolean arg1)
private void
b(ij arg0)
m_62673369(C_95231345 arg0)
broadcastToOps(Text message)
func_197020_b(ITextComponent arg0)
public void
a(ij arg0)
m_64550569(C_95231345 arg0)
sendFailure(Text message)
func_197021_a(ITextComponent arg0)
public void
a(CommandContext<bu> arg0, boolean arg1, int arg2)
m_86761441(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, boolean arg1, int arg2)
onCommandComplete(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, boolean success, int result)
func_197038_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, boolean arg1, int arg2)
public Collection<String>
l()
m_85454347()
getPlayerNames()
func_197011_j()
public Collection<String>
m()
m_38022272()
getTeams()
func_197012_k()
public Collection<Identifier>
n()
m_19880937()
getAvailableSounds()
func_197010_l()
public Collection<Identifier>
o()
m_32642880()
getAvailableRecipes()
func_199612_m()
public CompletableFuture<Suggestions>
a(CommandContext<bw> arg0, SuggestionsBuilder arg1)
m_91204684(com.mojang.brigadier.context.CommandContext<C_65570678> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggest(com.mojang.brigadier.context.CommandContext<SuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
func_197009_a(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<SuggestionProvider$Coordinate>
a(boolean arg0)
m_32378050(boolean arg0)
getCoordinates(boolean arg0)
func_199613_a(boolean arg0)