B C F G H I O P R S T 
All Classes All Packages

B

BrigadierMixinEntry - Class in ca.stellardrift.colonel.impl
 
BrigadierMixinEntry() - Constructor for class ca.stellardrift.colonel.impl.BrigadierMixinEntry
 
builder(Identifier) - Static method in class ca.stellardrift.colonel.api.ServerArgumentType
 
Builder() - Constructor for class ca.stellardrift.colonel.api.ServerArgumentType.Builder
 
byClass(Class<T>) - Static method in class ca.stellardrift.colonel.impl.ServerArgumentTypes
 

C

ca.stellardrift.colonel.api - package ca.stellardrift.colonel.api
The Colonel API Currently, the only api functionality supported is to register client-optional argument types in ServerArgumentType.
ca.stellardrift.colonel.impl - package ca.stellardrift.colonel.impl
Implementation of Colonel.
Colonel - Class in ca.stellardrift.colonel.impl
 
Colonel() - Constructor for class ca.stellardrift.colonel.impl.Colonel
 
colonel$knownArguments() - Method in interface ca.stellardrift.colonel.impl.ServerPlayerBridge
Set of registered optional argument types
colonel$knownArguments(Set<Identifier>) - Method in interface ca.stellardrift.colonel.impl.ServerPlayerBridge
Set the set of registered optional argument types.

F

fallbackProvider() - Method in class ca.stellardrift.colonel.api.ServerArgumentType
A function to transform an argument of your type into one understandable by the Vanilla client.
fallbackProvider(Function<T, ArgumentType<?>>) - Method in class ca.stellardrift.colonel.api.ServerArgumentType.Builder
Set the provider to be sent to clients without this argument type.
fallbackSuggestions() - Method in class ca.stellardrift.colonel.api.ServerArgumentType
Add an override for suggestions.
fallbackSuggestions(SuggestionProvider<?>) - Method in class ca.stellardrift.colonel.api.ServerArgumentType.Builder
Set the suggestion provider that will be set to clients that don't have this argument type.

G

getIds() - Static method in class ca.stellardrift.colonel.impl.ServerArgumentTypes
 
getKnownArgumentTypes(ServerPlayerEntity) - Static method in class ca.stellardrift.colonel.impl.ServerArgumentTypes
 

H

hackilyLoadForMixin(String) - Static method in class ca.stellardrift.colonel.impl.PreLaunchHacks
Hackily load the package which a mixin may exist within.

I

id() - Method in class ca.stellardrift.colonel.api.ServerArgumentType
The unique identifier for this argument type.
ID - Static variable in class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
 
idents() - Method in class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
Get the registered identifiers.

O

of(PacketByteBuf) - Static method in class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
 
of(Set<Identifier>) - Static method in class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
 
onInitialize() - Method in class ca.stellardrift.colonel.impl.Colonel
 
onPreLaunch() - Method in class ca.stellardrift.colonel.impl.BrigadierMixinEntry
 

P

PreLaunchHacks - Class in ca.stellardrift.colonel.impl
Via i509VCB, a trick to get Brig onto the Knot classpath in order to properly mix in.

R

register() - Method in class ca.stellardrift.colonel.api.ServerArgumentType.Builder
Complete the builder and register the argument with the Vanilla ArgumentTypes registry.
register() - Static method in class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
 
register(ServerArgumentType<?>) - Static method in class ca.stellardrift.colonel.impl.ServerArgumentTypes
 
RegisteredArgumentTypesC2SPacket - Class in ca.stellardrift.colonel.impl
A packet sent client to server, to let the server know which optional argument types are available on the server.
RegisteredArgumentTypesC2SPacket() - Constructor for class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
 

S

sendTo(PacketSender) - Method in class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
Send the client's list of identifiers to the server.
serializer() - Method in class ca.stellardrift.colonel.api.ServerArgumentType
The type's argument serializer.
serializer(ArgumentSerializer<T>) - Method in class ca.stellardrift.colonel.api.ServerArgumentType.Builder
Set the serializer for the native argument type
ServerArgumentType<T extends com.mojang.brigadier.arguments.ArgumentType<?>> - Class in ca.stellardrift.colonel.api
An argument type that only needs to be known on the server
ServerArgumentType() - Constructor for class ca.stellardrift.colonel.api.ServerArgumentType
 
ServerArgumentType.Builder<T extends com.mojang.brigadier.arguments.ArgumentType<?>> - Class in ca.stellardrift.colonel.api
A builder for ServerArgumentTypes
ServerArgumentTypes - Class in ca.stellardrift.colonel.impl
 
ServerArgumentTypes() - Constructor for class ca.stellardrift.colonel.impl.ServerArgumentTypes
 
ServerPlayerBridge - Interface in ca.stellardrift.colonel.impl
 
setKnownArgumentTypes(PlayerEntity, Set<Identifier>) - Static method in class ca.stellardrift.colonel.impl.ServerArgumentTypes
 

T

toPacket(PacketByteBuf) - Method in class ca.stellardrift.colonel.impl.RegisteredArgumentTypesC2SPacket
 
type() - Method in class ca.stellardrift.colonel.api.ServerArgumentType
The argument type class to register
type(Class<? super T>) - Method in class ca.stellardrift.colonel.api.ServerArgumentType.Builder
Set the native argument type.
B C F G H I O P R S T 
All Classes All Packages