item guard: photos cannot be cloned, locked or scaled in the cartography table, the anvil only renames camera, film and photo, the crafter does not craft with them (it handed out the static load/copy placeholders and ate the ingredients), camera and film cannot be placed as heads (the broken skull lost the markers) or put into mount saddle slots by horse inventory or dispenser
This commit is contained in:
1 parent
4c52bc2dca
commit
5d581dc482
2 files changed
+127
-2
No files matched your search
@@ -19,6 +19,7 @@ import eu.mhsl.minecraft.pixelpics.render.render.DefaultScreenRenderer;
|
||||
import eu.mhsl.minecraft.pixelpics.render.tint.BiomeTintProvider;
|
||||
import eu.mhsl.minecraft.pixelpics.survival.CameraListener;
|
||||
import eu.mhsl.minecraft.pixelpics.survival.CraftingListener;
|
||||
import eu.mhsl.minecraft.pixelpics.survival.ItemGuardListener;
|
||||
import eu.mhsl.minecraft.pixelpics.survival.JoinListener;
|
||||
import eu.mhsl.minecraft.pixelpics.survival.PendingPhotos;
|
||||
import eu.mhsl.minecraft.pixelpics.survival.SurvivalRecipes;
|
||||
@@ -62,8 +63,12 @@ public final class Main extends JavaPlugin {
|
||||
initRenderManager();
|
||||
|
||||
Objects.requireNonNull(getCommand("pixelPic")).setExecutor(new PixelPicsCommand());
|
||||
for (Listener listener :
|
||||
List.of(new OnMapInitialize(), new CameraListener(), new CraftingListener(), new JoinListener())) {
|
||||
for (Listener listener : List.of(
|
||||
new OnMapInitialize(),
|
||||
new CameraListener(),
|
||||
new CraftingListener(),
|
||||
new ItemGuardListener(),
|
||||
new JoinListener())) {
|
||||
Bukkit.getPluginManager().registerEvents(listener, this);
|
||||
}
|
||||
SurvivalRecipes.register();
|
||||
|
||||
Reference in new issue
Block a user