mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-22 10:15:43 +01:00
Merge branch 'development'
This commit is contained in:
commit
e021908b29
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<groupId>com.songoda</groupId>
|
<groupId>com.songoda</groupId>
|
||||||
<artifactId>EpicHoppers</artifactId>
|
<artifactId>EpicHoppers</artifactId>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<version>4.6.8</version>
|
<version>4.6.9</version>
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>clean install</defaultGoal>
|
<defaultGoal>clean install</defaultGoal>
|
||||||
<finalName>EpicHoppers-${project.version}</finalName>
|
<finalName>EpicHoppers-${project.version}</finalName>
|
||||||
|
@ -73,8 +73,11 @@ public class ModuleBlockBreak extends Module {
|
|||||||
if (Settings.BLOCKBREAK_BLACKLIST.getStringList().contains(above.getType().name())
|
if (Settings.BLOCKBREAK_BLACKLIST.getStringList().contains(above.getType().name())
|
||||||
|| above.getType() == Material.WATER
|
|| above.getType() == Material.WATER
|
||||||
|| above.getType() == Material.LAVA
|
|| above.getType() == Material.LAVA
|
||||||
|| above.getType() == Material.AIR
|
|| above.getType() == Material.AIR)
|
||||||
|| above.getState() instanceof InventoryHolder)
|
return;
|
||||||
|
|
||||||
|
if (Settings.ALLOW_BLOCKBREAK_CONTAINERS.getBoolean()
|
||||||
|
&& above.getState() instanceof InventoryHolder)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Let's break the block!
|
// Let's break the block!
|
||||||
|
@ -51,11 +51,6 @@ public class Settings {
|
|||||||
"The amount of time in ticks a player has between hitting the hopper",
|
"The amount of time in ticks a player has between hitting the hopper",
|
||||||
"Link button and performing the link. When the time is up the link event is canceled.");
|
"Link button and performing the link. When the time is up the link event is canceled.");
|
||||||
|
|
||||||
public static final ConfigSetting SYNC_TOUCH_BLACKLIST = new ConfigSetting(config, "Main.Sync Touch Blacklist",
|
|
||||||
Arrays.asList("CHEST", "FURNACE", "HOPPER"),
|
|
||||||
"Items that shouldn't work with Sync touch. You should put items in here",
|
|
||||||
"that other plugins use to store data with.");
|
|
||||||
|
|
||||||
public static final ConfigSetting MAX_CHUNK = new ConfigSetting(config, "Main.Max Hoppers Per Chunk", -1,
|
public static final ConfigSetting MAX_CHUNK = new ConfigSetting(config, "Main.Max Hoppers Per Chunk", -1,
|
||||||
"The maximum amount of hoppers per chunk.");
|
"The maximum amount of hoppers per chunk.");
|
||||||
|
|
||||||
@ -66,6 +61,9 @@ public class Settings {
|
|||||||
Arrays.asList("BEDROCK", "END_PORTAL", "ENDER_PORTAL", "END_PORTAL_FRAME", "ENDER_PORTAL_FRAME", "PISTON_HEAD", "PISTON_EXTENSION", "RAIL", "RAILS", "ACTIVATOR_RAIL", "DETECTOR_RAIL", "POWERED_RAIL"),
|
Arrays.asList("BEDROCK", "END_PORTAL", "ENDER_PORTAL", "END_PORTAL_FRAME", "ENDER_PORTAL_FRAME", "PISTON_HEAD", "PISTON_EXTENSION", "RAIL", "RAILS", "ACTIVATOR_RAIL", "DETECTOR_RAIL", "POWERED_RAIL"),
|
||||||
"Anything listed here will not be broken by the block break module.");
|
"Anything listed here will not be broken by the block break module.");
|
||||||
|
|
||||||
|
public static final ConfigSetting ALLOW_BLOCKBREAK_CONTAINERS = new ConfigSetting(config, "Main.Allow BlockBreak Containers", false,
|
||||||
|
"Allow BlockBreak to break containers.");
|
||||||
|
|
||||||
public static final ConfigSetting AUTOCRAFT_JAM_EJECT = new ConfigSetting(config, "Main.AutoCraft Jam Eject", false,
|
public static final ConfigSetting AUTOCRAFT_JAM_EJECT = new ConfigSetting(config, "Main.AutoCraft Jam Eject", false,
|
||||||
"AutoCraft module needs a free slot to craft items with.",
|
"AutoCraft module needs a free slot to craft items with.",
|
||||||
"Normally, crafting hoppers won't grab items that would fill that slot.",
|
"Normally, crafting hoppers won't grab items that would fill that slot.",
|
||||||
|
Loading…
Reference in New Issue
Block a user