Klasse LevelStorageSourceMixin
java.lang.Object
de.luckymcdev.foundryengine.mixin.level.LevelStorageSourceMixin
- Alle implementierten Schnittstellen:
EngineInterface<net.minecraft.world.level.storage.LevelStorageSource>, EngineLevelStorageSource
Implements
EngineLevelStorageSource on LevelStorageSource to support additional paths and instanced worlds.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidengine$addAdditionalPath(Path path) Registers an additional search path for world storage.voidClears all registered additional storage paths.voidClears all instanced world data.voidengine$deleteInstance(String levelId) Deletes the instanced copy of the given level ID.Returns all registered additional storage paths.booleanengine$isInstanced(String levelId) Checks whether the given level ID is instanced.booleanengine$isWorldExternal(String levelId) Checks whether the given level ID refers to an external world.booleanRemoves a registered additional storage path.engine$resolveWorldPath(String levelId) Resolves the world path for a given level ID, checking additional paths first.Von Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden EngineInterface
engine$self
-
Konstruktordetails
-
LevelStorageSourceMixin
public LevelStorageSourceMixin()
-
-
Methodendetails
-
engine$addAdditionalPath
Registers an additional search path for world storage.- Angegeben von:
engine$addAdditionalPathin SchnittstelleEngineLevelStorageSource
-
engine$getAdditionalPaths
Returns all registered additional storage paths.- Angegeben von:
engine$getAdditionalPathsin SchnittstelleEngineLevelStorageSource
-
engine$removeAdditionalPath
Removes a registered additional storage path.- Angegeben von:
engine$removeAdditionalPathin SchnittstelleEngineLevelStorageSource
-
engine$clearAdditionalPaths
public void engine$clearAdditionalPaths()Clears all registered additional storage paths.- Angegeben von:
engine$clearAdditionalPathsin SchnittstelleEngineLevelStorageSource
-
engine$resolveWorldPath
Resolves the world path for a given level ID, checking additional paths first.- Angegeben von:
engine$resolveWorldPathin SchnittstelleEngineLevelStorageSource
-
engine$isWorldExternal
Checks whether the given level ID refers to an external world.- Angegeben von:
engine$isWorldExternalin SchnittstelleEngineLevelStorageSource
-
engine$isInstanced
Checks whether the given level ID is instanced.- Angegeben von:
engine$isInstancedin SchnittstelleEngineLevelStorageSource
-
engine$deleteInstance
Deletes the instanced copy of the given level ID.- Angegeben von:
engine$deleteInstancein SchnittstelleEngineLevelStorageSource
-
engine$clearInstanced
public void engine$clearInstanced()Clears all instanced world data.- Angegeben von:
engine$clearInstancedin SchnittstelleEngineLevelStorageSource
-