mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Add submodule MinecraftProtocolLibrary
This commit is contained in:
parent
87026e1bfb
commit
3f1de66af3
62 changed files with 1093 additions and 450 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using Brigadier.NET.Context;
|
||||
using MinecraftClient.CommandHandler.ArgumentType;
|
||||
using MinecraftClient.EntityHandler;
|
||||
|
||||
namespace MinecraftClient.CommandHandler
|
||||
{
|
||||
|
|
@ -31,9 +32,9 @@ namespace MinecraftClient.CommandHandler
|
|||
return new EntityTypeArgumentType();
|
||||
}
|
||||
|
||||
public static Mapping.EntityType GetEntityType<TSource>(CommandContext<TSource> context, string name)
|
||||
public static EntityType GetEntityType<TSource>(CommandContext<TSource> context, string name)
|
||||
{
|
||||
return context.GetArgument<Mapping.EntityType>(name);
|
||||
return context.GetArgument<EntityType>(name);
|
||||
}
|
||||
|
||||
public static ItemTypeArgumentType ItemType()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue