Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,33 @@ private boolean isInteractable(@Nonnull Material material) {
// We cannot rely on Material#isInteractable() sadly
// as it would allow the placement of this block on strange items like stairs...
switch (material) {
case CRAFTING_TABLE:
case FURNACE:
case SMOKER:
case BLAST_FURNACE:
case JIGSAW:
case JUKEBOX:
case ENCHANTING_TABLE:
case ITEM_FRAME:
case LOOM:
case CARTOGRAPHY_TABLE:
case GRINDSTONE:
case SMITHING_TABLE:
case BELL:
case BEACON:
case ANVIL:
case BREWING_STAND:
case CAKE:
case CHEST:
case HOPPER:
case TRAPPED_CHEST:
case HOPPER:
case ENDER_CHEST:
case CAULDRON:
case SHULKER_BOX:
return true;
default:
return material.name().equals("BARREL") || material.name().endsWith("_SHULKER_BOX");
return material.name().equals("BARREL") ||
material.name().endsWith("_SHULKER_BOX") ||
material.name().endsWith("DOOR") ||
material.name().endsWith("BED");
}
}

Expand Down