Klasse RuntimeLevelHandle

java.lang.Object
de.luckymcdev.foundryengine.common.world.level.runtime.RuntimeLevelHandle

public class RuntimeLevelHandle extends Object
  • Konstruktordetails

    • RuntimeLevelHandle

      public RuntimeLevelHandle(EngineLevels engineLevels, net.minecraft.server.level.ServerLevel level)
  • Methodendetails

    • setTickWhenEmpty

      public void setTickWhenEmpty(boolean tickWhenEmpty)
    • delete

      public void delete()
      Deletes the level, including all stored files
    • unload

      public void unload()
      Unloads the level. It only deletes the files if the level is temporary.
    • asLevel

      public net.minecraft.server.level.ServerLevel asLevel()
    • getRegistryKey

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getRegistryKey()