-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: deprecate GemVillagers, TreasureGems, and MoreMobHeads
GemVillagers and TreasureGems are gone from VanillaTweaks so there's nothing to update them from anymore. MoreMobHeads is getting too unwieldy to implement as a plugin and using the datapack isn't a performance hit because it is just loot tables.
- Loading branch information
1 parent
a00cfbc
commit 6963c16
Showing
15 changed files
with
358 additions
and
772 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
24 changes: 24 additions & 0 deletions
24
src/main/java/me/machinemaker/papertweaks/modules/hermitcraft/gemvillagers/Lifecycle.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,24 @@ | ||
package me.machinemaker.papertweaks.modules.hermitcraft.gemvillagers; | ||
|
||
import jakarta.inject.Inject; | ||
import java.util.Set; | ||
import me.machinemaker.papertweaks.modules.ModuleCommand; | ||
import me.machinemaker.papertweaks.modules.ModuleConfig; | ||
import me.machinemaker.papertweaks.modules.ModuleLifecycle; | ||
import me.machinemaker.papertweaks.modules.ModuleListener; | ||
import me.machinemaker.papertweaks.modules.ModuleRecipe; | ||
import org.bukkit.plugin.java.JavaPlugin; | ||
|
||
class Lifecycle extends ModuleLifecycle { | ||
|
||
@Inject | ||
protected Lifecycle(final JavaPlugin plugin, final Set<ModuleCommand> commands, final Set<ModuleListener> listeners, final Set<ModuleConfig> configs, final Set<ModuleRecipe<?>> moduleRecipes) { | ||
super(plugin, commands, listeners, configs, moduleRecipes); | ||
} | ||
|
||
@Override | ||
public void onEnable() { | ||
GemVillagers.LOGGER.error("Please disable GemVillagers. GemVillagers is deprecated and won't be updated or supported in 1.21+. It may be removed in future versions."); | ||
super.onEnable(); | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/main/java/me/machinemaker/papertweaks/modules/hermitcraft/treasuregems/Lifecycle.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,24 @@ | ||
package me.machinemaker.papertweaks.modules.hermitcraft.treasuregems; | ||
|
||
import jakarta.inject.Inject; | ||
import java.util.Set; | ||
import me.machinemaker.papertweaks.modules.ModuleCommand; | ||
import me.machinemaker.papertweaks.modules.ModuleConfig; | ||
import me.machinemaker.papertweaks.modules.ModuleLifecycle; | ||
import me.machinemaker.papertweaks.modules.ModuleListener; | ||
import me.machinemaker.papertweaks.modules.ModuleRecipe; | ||
import org.bukkit.plugin.java.JavaPlugin; | ||
|
||
class Lifecycle extends ModuleLifecycle { | ||
|
||
@Inject | ||
protected Lifecycle(final JavaPlugin plugin, final Set<ModuleCommand> commands, final Set<ModuleListener> listeners, final Set<ModuleConfig> configs, final Set<ModuleRecipe<?>> moduleRecipes) { | ||
super(plugin, commands, listeners, configs, moduleRecipes); | ||
} | ||
|
||
@Override | ||
public void onEnable() { | ||
TreasureGems.LOGGER.error("Please disable TreasureGems. TreasureGems is deprecated and won't be updated or supported in 1.21+. It may be removed in future versions."); | ||
super.onEnable(); | ||
} | ||
} |
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.