Class RequireCommand

java.lang.Object
ws.siri.jscore.behaviour.command.RequireCommand

public class RequireCommand extends Object
Require [strict/lazy] <path> - strict always loads the file - lazy only loads the file if not previously loaded
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    lazy(com.mojang.brigadier.context.CommandContext<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> context)
     
    static int
    strict(com.mojang.brigadier.context.CommandContext<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RequireCommand

      public RequireCommand()
  • Method Details

    • lazy

      public static int lazy(com.mojang.brigadier.context.CommandContext<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> context)
    • strict

      public static int strict(com.mojang.brigadier.context.CommandContext<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> context)