-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially compatible with BlobLib 1.697.6
Missing updating deprecated BlobLib API method calls
- Loading branch information
1 parent
233b51c
commit 321da1b
Showing
48 changed files
with
1,521 additions
and
280 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,3 +1,3 @@ | ||
#maven.buildNumber.plugin properties file | ||
#Fri Jun 16 10:07:46 CST 2023 | ||
buildNumber0=132 | ||
#Mon Oct 09 19:01:32 CST 2023 | ||
buildNumber0=6 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,41 @@ | ||
package us.mytheria.blobdesign; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
import us.mytheria.blobdesign.director.DesignManagerDirector; | ||
import us.mytheria.blobdesign.director.command.DisplayEditor; | ||
import us.mytheria.blobdesign.director.command.DisplayElementAssetCmd; | ||
import us.mytheria.blobdesign.director.command.DisplaySpawner; | ||
import us.mytheria.bloblib.entities.proxy.BlobProxifier; | ||
import us.mytheria.blobdesign.director.command.HeadPresetBlock; | ||
import us.mytheria.bloblib.entities.PluginUpdater; | ||
import us.mytheria.bloblib.managers.BlobPlugin; | ||
import us.mytheria.bloblib.managers.IManagerDirector; | ||
|
||
public class BlobDesign extends BlobPlugin { | ||
protected DesignManagerDirector director; | ||
private IManagerDirector proxy; | ||
private PluginUpdater updater; | ||
|
||
protected static BlobDesign instance; | ||
|
||
@Override | ||
public void onEnable() { | ||
instance = this; | ||
director = new DesignManagerDirector(this); | ||
proxy = BlobProxifier.PROXY(director); | ||
new DisplaySpawner(this, director); | ||
new DisplayEditor(this, director); | ||
new DisplayElementAssetCmd(this, director); | ||
} | ||
|
||
@Override | ||
public void onDisable() { | ||
unregisterFromBlobLib(); | ||
director.unload(); | ||
proxy = director.proxy(); | ||
updater = generateGitHubUpdater("anjoismysign", "BlobDesign"); | ||
new DisplaySpawner(director); | ||
new DisplayEditor(director); | ||
new DisplayElementAssetCmd(director); | ||
new HeadPresetBlock(director); | ||
} | ||
|
||
public IManagerDirector getManagerDirector() { | ||
return proxy; | ||
} | ||
|
||
@Override | ||
@NotNull | ||
public PluginUpdater getPluginUpdater() { | ||
return updater; | ||
} | ||
} |
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
4 changes: 0 additions & 4 deletions
4
src/main/java/us/mytheria/blobdesign/director/DesignManagerDirectorProxy.java
This file was deleted.
Oops, something went wrong.
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
5 changes: 2 additions & 3 deletions
5
src/main/java/us/mytheria/blobdesign/director/command/DisplayElementAssetCmd.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
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.