File tree Expand file tree Collapse file tree
src/main/java/com/github/yuttyann/scriptentityplus Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ScriptEntityPlus [ Java8 MC1.9-1.17.1 ]
1+ ScriptEntityPlus [ Java8 MC1.9-1.18 ]
22==========
33概要
44--------------------------------------------------
Original file line number Diff line number Diff line change 22 <modelVersion >4.0.0</modelVersion >
33 <groupId >com.github.yuttyann</groupId >
44 <artifactId >ScriptEntityPlus</artifactId >
5- <version >1.1.9 </version >
5+ <version >1.2.0 </version >
66
77 <name >ScriptEntityPlus</name >
88 <url >https://github.com/yuttyann/ScriptEntityPlus</url >
5050 <dependency >
5151 <groupId >org.spigotmc</groupId >
5252 <artifactId >spigot-api</artifactId >
53- <version >1.17 -R0.1-SNAPSHOT</version >
53+ <version >1.18 -R0.1-SNAPSHOT</version >
5454 <scope >provided</scope >
5555 </dependency >
5656 <dependency >
5757 <groupId >com.github.yuttyann</groupId >
5858 <artifactId >ScriptBlockPlus</artifactId >
59- <version >2.1.8 </version >
59+ <version >v2.2.0 </version >
6060 </dependency >
6161 <dependency >
6262 <groupId >com.google.code.gson</groupId >
Original file line number Diff line number Diff line change 4242
4343public class ScriptEntity extends JavaPlugin {
4444
45- public static final String SBP_VERSION = "2.1.8 " ;
45+ public static final String SBP_VERSION = "2.2.0 " ;
4646
4747 @ Override
4848 public void onEnable () {
@@ -56,7 +56,7 @@ public void onEnable() {
5656 SEFiles .reload ();
5757
5858 // キャッシュの生成
59- CacheJson .register (EntityScriptJson .class );
59+ CacheJson .register (EntityScriptJson .class , EntityScriptJson :: new );
6060 CacheJson .loading (EntityScriptJson .class );
6161
6262 // リスナーの登録
Original file line number Diff line number Diff line change 2525@ JsonTag (path = "json/entityscript" )
2626public class EntityScriptJson extends SingleJson <EntityScript > {
2727
28- private EntityScriptJson (@ NotNull String name ) {
28+ public EntityScriptJson (@ NotNull String name ) {
2929 super (name );
3030 }
3131
Original file line number Diff line number Diff line change 1515 */
1616package com .github .yuttyann .scriptentityplus .listener ;
1717
18- import com .github .yuttyann .scriptblockplus .enums .server .ClassType ;
18+ import com .github .yuttyann .scriptblockplus .enums .server .reflect . ClassType ;
1919import com .github .yuttyann .scriptentityplus .json .EntityScript ;
2020import org .jetbrains .annotations .NotNull ;
2121import org .jetbrains .annotations .Nullable ;
You can’t perform that action at this time.
0 commit comments