[Change] Improved Eternal Portal Code
This commit is contained in:
parent
7f8d8bef0c
commit
9f4999c966
10 changed files with 775 additions and 531 deletions
|
@ -60,7 +60,11 @@ public class CommandRegistry {
|
|||
.requires(source -> source.hasPermission(Commands.LEVEL_OWNERS))
|
||||
.then(Commands.literal("locate_portal")
|
||||
.requires(source -> source.hasPermission(Commands.LEVEL_OWNERS))
|
||||
.executes(ctx -> find_poi(ctx, EndPoiTypes.ETERNAL_PORTAL_INACTIVE))
|
||||
.executes(ctx -> find_poi(ctx, EndPoiTypes.ETERNAL_PORTAL))
|
||||
)
|
||||
.then(Commands.literal("locate_portal_frame")
|
||||
.requires(source -> source.hasPermission(Commands.LEVEL_OWNERS))
|
||||
.executes(ctx -> find_poi(ctx, EndPoiTypes.ETERNAL_PORTAL_FRAME))
|
||||
)
|
||||
.then(Commands.literal("tpnext")
|
||||
.requires(source -> source.hasPermission(Commands.LEVEL_OWNERS))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue