Class TimeSpeedCommand

java.lang.Object
net.neoforged.neoforge.server.command.TimeSpeedCommand

class TimeSpeedCommand extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static net.minecraft.network.chat.Component
    levelName(net.minecraft.commands.CommandSourceStack source)
     
    private static float
    minutes(float speed)
     
    private static int
    query(net.minecraft.commands.CommandSourceStack source)
     
    (package private) static com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack,?>
     
    private static int
    setDaylength(net.minecraft.commands.CommandSourceStack source, int minutes)
     
    private static int
    setDefault(net.minecraft.commands.CommandSourceStack source)
     
    private static int
    setSpeed(net.minecraft.commands.CommandSourceStack source, float speed)
     

    Methods inherited from class java.lang.Object

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

    • TimeSpeedCommand

      TimeSpeedCommand()
  • Method Details

    • register

      static com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack,?> register()
    • query

      private static int query(net.minecraft.commands.CommandSourceStack source)
    • levelName

      private static net.minecraft.network.chat.Component levelName(net.minecraft.commands.CommandSourceStack source)
    • minutes

      private static float minutes(float speed)
    • setSpeed

      private static int setSpeed(net.minecraft.commands.CommandSourceStack source, float speed)
    • setDaylength

      private static int setDaylength(net.minecraft.commands.CommandSourceStack source, int minutes)
    • setDefault

      private static int setDefault(net.minecraft.commands.CommandSourceStack source)