-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: KubeJS support, ConvergenceItems moved to their own file, disab…
…led skills removed from GUI. fix: some bugs related to locked items.
- Loading branch information
Showing
25 changed files
with
253 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.1.0 | ||
1.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/main/java/com/seniors/justlevelingfork/handler/HandlerConvergenceItemsConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.seniors.justlevelingfork.handler; | ||
|
||
import com.google.gson.GsonBuilder; | ||
import com.seniors.justlevelingfork.JustLevelingFork; | ||
import com.seniors.justlevelingfork.config.Configuration; | ||
import com.seniors.justlevelingfork.config.StringListGroup; | ||
import dev.isxander.yacl3.config.v2.api.ConfigClassHandler; | ||
import dev.isxander.yacl3.config.v2.api.SerialEntry; | ||
import dev.isxander.yacl3.config.v2.api.autogen.ListGroup; | ||
import dev.isxander.yacl3.config.v2.api.serializer.GsonConfigSerializerBuilder; | ||
import net.minecraft.resources.ResourceLocation; | ||
|
||
import java.util.List; | ||
|
||
public class HandlerConvergenceItemsConfig { | ||
public static ConfigClassHandler<HandlerConvergenceItemsConfig> HANDLER = ConfigClassHandler.createBuilder(HandlerConvergenceItemsConfig.class) | ||
.id(new ResourceLocation(JustLevelingFork.MOD_ID, "config")) | ||
.serializer(config -> GsonConfigSerializerBuilder.create(config) | ||
.setPath(Configuration.getAbsoluteDirectory().resolve("justleveling-fork.convergence-items.json5")) | ||
.appendGsonBuilder(GsonBuilder::setPrettyPrinting) | ||
.setJson5(true) | ||
.build()) | ||
.build(); | ||
|
||
@SerialEntry(comment = "Convergence skill convergence item list") | ||
@ListGroup(controllerFactory = StringListGroup.class, valueFactory = StringListGroup.class) | ||
public List<String> convergenceItemList = List.of(); | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/seniors/justlevelingfork/kubejs/Plugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.seniors.justlevelingfork.kubejs; | ||
|
||
import com.seniors.justlevelingfork.client.core.ValueType; | ||
import dev.latvian.mods.kubejs.KubeJSPlugin; | ||
import dev.latvian.mods.kubejs.script.BindingsEvent; | ||
|
||
public class Plugin extends KubeJSPlugin { | ||
|
||
@Override | ||
public void registerBindings(BindingsEvent event) { | ||
super.registerBindings(event); | ||
event.add("ValueType", ValueType.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.