Class CutsceneFiles
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.cutscene.CutsceneFiles
-
Method Summary
Modifier and TypeMethodDescriptionstatic Pathfolder()static @Nullable Cutscenestatic net.minecraft.resources.Identifierstatic booleanisValidName(String name) Whether a name can be a file's: lower case letters, digits, underscores and dashes.names()static PathWrites a cutscene to its file.
-
Method Details
-
folder
-
id
-
isValidName
Whether a name can be a file's: lower case letters, digits, underscores and dashes. -
names
-
get
-
save
Writes a cutscene to its file.- Returns:
- the file
- Throws:
IOException- if it can't be writtenIllegalArgumentException- if the cutscene can't be written as JSON
-