mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
suggested changes
This commit is contained in:
parent
3e776a7fba
commit
e7d766e229
@ -69,7 +69,7 @@ final class CargoUtils {
|
||||
}
|
||||
|
||||
Material type = block.getType();
|
||||
return SlimefunTag.INVENTORY_BLOCKS.isTagged(type);
|
||||
return SlimefunTag.CARGO_SUPPORTED_INVENTORIES.isTagged(type);
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
|
@ -202,7 +202,7 @@ public abstract class AbstractAutoCrafter extends SlimefunItem implements Energy
|
||||
protected boolean isValidInventory(@Nonnull Block block) {
|
||||
Material type = block.getType();
|
||||
|
||||
return SlimefunTag.STORAGE_BLOCKS.isTagged(type);
|
||||
return SlimefunTag.AUTO_CRAFTER_SUPPORTED_STORAGE.isTagged(type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -267,12 +267,12 @@ public enum SlimefunTag implements Tag<Material> {
|
||||
/**
|
||||
* All storage blocks.
|
||||
*/
|
||||
STORAGE_BLOCKS,
|
||||
AUTO_CRAFTER_SUPPORTED_STORAGE,
|
||||
|
||||
/**
|
||||
* All blocks with an inventory.
|
||||
*/
|
||||
INVENTORY_BLOCKS,
|
||||
CARGO_SUPPORTED_INVENTORIES,
|
||||
|
||||
/**
|
||||
* All tile entities.
|
||||
|
@ -1,13 +1,15 @@
|
||||
{
|
||||
"values" : [
|
||||
"#slimefun:storage_blocks",
|
||||
"#slimefun:shulker_boxes",
|
||||
"minecraft:chest",
|
||||
"minecraft:trapped_chest",
|
||||
"minecraft:barrel",
|
||||
"minecraft:furnace",
|
||||
"minecraft:dispenser",
|
||||
"minecraft:dropper",
|
||||
"minecraft:hopper",
|
||||
"minecraft:brewing_stand",
|
||||
"minecraft:blast_furnace",
|
||||
"minecraft:smoker",
|
||||
"minecraft:campfire"
|
||||
"minecraft:smoker"
|
||||
]
|
||||
}
|
@ -1,9 +1,19 @@
|
||||
{
|
||||
"values" : [
|
||||
"#slimefun:shulker_boxes",
|
||||
"#minecraft:signs",
|
||||
"#minecraft:banners",
|
||||
"#minecraft:beds",
|
||||
"#slimefun:inventory_blocks",
|
||||
"minecraft:chest",
|
||||
"minecraft:trapped_chest",
|
||||
"minecraft:barrel",
|
||||
"minecraft:furnace",
|
||||
"minecraft:dispenser",
|
||||
"minecraft:dropper",
|
||||
"minecraft:hopper",
|
||||
"minecraft:brewing_stand",
|
||||
"minecraft:blast_furnace",
|
||||
"minecraft:smoker",
|
||||
"minecraft:beacon",
|
||||
"minecraft:spawner",
|
||||
"minecraft:note_block",
|
||||
|
Loading…
Reference in New Issue
Block a user