12
0

WIP: CommandFramework #84

Geschlossen
YoyoNow möchte 53 Commits von CommandFramework nach master mergen

53 Commits

Autor SHA1 Nachricht Datum
yoyosource
050fcafc71 Fix Argument 2021-03-12 10:57:23 +01:00
jojo
76b99d20db Optimize Imports 2020-12-31 16:09:11 +01:00
jojo
e999cbc2fb Simplify SWCommand.register 2020-12-31 13:06:04 +01:00
jojo
45dc828d6c Simplify SWCommand.register 2020-12-31 13:05:43 +01:00
jojo
a60fa5923c Simplify SWCommand.register 2020-12-30 22:57:56 +01:00
jojo
8b36a64f94 Add SWCommand.register 2020-12-30 22:40:41 +01:00
jojo
28f1802a35 Simplify ArgumentUtils.ofEnum 2020-12-30 22:17:38 +01:00
jojo
215db51837 Rename ArgumentUtils.ofEnum
Remove Argument.BOOLEAN
2020-12-30 22:14:27 +01:00
jojo
03bdb926ca Add easier Enum Support in ArgumentUtils 2020-12-30 22:06:33 +01:00
jojo
0b389f2f99 Add Argument
Add SWCommand
2020-12-30 20:24:48 +01:00
jojo
8ea8fb6e7b Add Argument.USER
Add ( Argument.SCHEMATIC )
2020-12-30 19:12:01 +01:00
jojo
fc31501926 Add SWCommand.tabComplete repeatable 2020-12-30 17:38:14 +01:00
jojo
3f9850ce26 Simplify ArgumentUtils
Remove unused Argument Types
Add SWCommand.lastArgRepeatable
2020-12-30 16:40:39 +01:00
jojo
d0672072d8 Generify SWCommand to any thing implementing CommandSender 2020-12-30 15:20:16 +01:00
jojo
cfa3ff0d8d Remove SWCommandBundle.java
Add utility from SWCommandBundle.java to SWCommand
2020-12-30 14:40:30 +01:00
jojo
27b8bd43da Simplify SWCommandBundle 2020-12-30 14:35:06 +01:00
jojo
085382296f Simplify ArgumentMap 2020-12-30 14:33:03 +01:00
jojo
3e0fb9fde1 Simplify ArgumentMap 2020-12-30 14:31:02 +01:00
jojo
9eb6918594 Simplify Argument 2020-12-30 14:13:57 +01:00
jojo
fe8c387df5 Remove Executor.java
Chnage SWCommand Executor to BiConsumer<Player, ArgumentMap>
2020-12-30 14:07:07 +01:00
jojo
35a4b39758 Optimize ArgumentUtils
Optimize SWCommand
Optimize SWCommandBundle
2020-12-30 13:53:47 +01:00
jojo
8d86ee4f16 Optimize Argument.GAMEMODE 2020-12-30 13:39:05 +01:00
jojo
cac4cd26e0 Simplify ArgumentUtils
Simplify ArgumentMap.toString()
Remove Argument.toString()
2020-12-30 13:35:44 +01:00
jojo
deb25ab789 Simplify Argument constructor chain 2020-12-30 13:24:11 +01:00
jojo
b2894aeecb Simplify Code 2020-12-30 13:22:44 +01:00
jojo
b72f7b698e Simplify Argument
Remove ArgumentType.java
2020-12-30 13:18:39 +01:00
jojo
da4362b356 Revert "Simplify CommandFramework"
This reverts commit 3687b4b2
2020-12-30 12:44:06 +01:00
jojo
3687b4b267 Simplify CommandFramework 2020-12-30 12:22:52 +01:00
jojo
710ec9b6e7 Add API in Argument 2020-12-29 22:45:49 +01:00
jojo
80b85e3ee9 Add Argument interface in commandn
Add InvalidArgumentException
2020-12-29 22:21:06 +01:00
jojo
88083af074 Add Readability 2020-12-29 20:45:19 +01:00
jojo
e6f948f35e Optimize Imports 2020-12-29 20:32:00 +01:00
jojo
742bc9a23c Add Argument.PARTICLE
Add Argument.ENTITY
Add Argument.SOUND
Add Argument.SOUND_CATEGORY
2020-12-29 19:05:39 +01:00
jojo
ee85ec6696 Simplify Argument.tabCompleteSupplier 2020-12-29 16:42:47 +01:00
jojo
72863f30f0 Add reactive dynamic Argument TabCompletion 2020-12-29 13:46:31 +01:00
jojo
52af8a71f5 Add Argument.GAMEMODE
Add Argument.MATERIAL
2020-12-29 13:29:32 +01:00
jojo
a65ce1c04d Add Argument.BOOLEAN 2020-12-29 09:47:34 +01:00
jojo
b179eeb5df Add Argument.tabCompletes to Supplier for dynamic use 2020-12-28 23:26:25 +01:00
jojo
b87b192351 Add Argument.BOOLEAN
Add ArgumentType.BOOLEAN
2020-12-28 23:18:41 +01:00
jojo
76fe648e85 Fix Argument.ArgumentBuilder 2020-12-28 17:04:28 +01:00
jojo
7a199d31d1 Fix Argument.ArgumentBuilder 2020-12-28 16:30:40 +01:00
jojo
b28100daed Add Argument.ArgumentBuilder
Add SWCommandBundle.addAll
2020-12-28 16:17:25 +01:00
jojo
b3fffe398a Add number TabCompleting 2020-12-28 11:34:43 +01:00
jojo
b6e4147af4 Add Basic TabCompleting 2020-12-28 11:25:41 +01:00
jojo
54a472e33e Add ArgumentUtils
Add initial basic TabComplete
Simplify SWCommand.execute
2020-12-28 10:59:14 +01:00
jojo
96c15aba71 Simplify Argument for Numbers with static constructor 2020-12-27 23:08:03 +01:00
jojo
96eb3e52ae Add ArgumentMap for easy argument use
Add Argument.of
Add Argument.ofIgnoreCase
2020-12-27 23:03:15 +01:00
jojo
f20283dc37 Add SWCommandBundle 2020-12-27 22:56:14 +01:00
jojo
fbc13c75f0 Simplify Argument for common use cases
Add Executor to SWCommand
2020-12-27 22:12:42 +01:00
jojo
47025962fd Add Argument.INT
Add Argument.LONG
Add Argument.FLOAT
Add Argument.DOUBLE
2020-12-27 21:41:44 +01:00
jojo
67dc554f14 Add Argument
Add Executor
2020-12-27 21:30:50 +01:00
jojo
10934058cc Add SWCommand.registerCommand 2020-12-27 17:31:14 +01:00
jojo
2b7edeec0c Add simple SWCommand
Add SWCommandArgument
Add SWCommandArgumentBuilder
Add SWCommandExecutor
2020-12-27 17:14:43 +01:00