@Test public void isInteractable() { assertTrue(MaterialUtils.isInteractableBlock(Material.ANVIL)); assertFalse(MaterialUtils.isInteractableBlock(Material.AIR)); }
public static boolean isInteractableBlock(Material material) { return material != null && material.isBlock() && interactableBlocks.contains(material); }
MaterialUtils { public static boolean isInteractableBlock(Material material) { return material != null && material.isBlock() && interactableBlocks.contains(material); } }
MaterialUtils { public static boolean isInteractableBlock(Material material) { return material != null && material.isBlock() && interactableBlocks.contains(material); } private  MaterialUtils(); }
MaterialUtils { public static boolean isInteractableBlock(Material material) { return material != null && material.isBlock() && interactableBlocks.contains(material); } private  MaterialUtils(); static boolean isInteractableBlock(Material material); static boolean isInteractableBlockClass(Block block); static boolean isContainer(Material material); static boolean isSign(Material material); static boolean isGoldTool(@Nonnull Material material); static boolean isLeaves(@Nullable Material material); static boolean equals(@Nullable Material material, @Nonnull Material... any); }
MaterialUtils { public static boolean isInteractableBlock(Material material) { return material != null && material.isBlock() && interactableBlocks.contains(material); } private  MaterialUtils(); static boolean isInteractableBlock(Material material); static boolean isInteractableBlockClass(Block block); static boolean isContainer(Material material); static boolean isSign(Material material); static boolean isGoldTool(@Nonnull Material material); static boolean isLeaves(@Nullable Material material); static boolean equals(@Nullable Material material, @Nonnull Material... any); static final Map<DyeColor, Material> dyeToWool; static final Map<DyeColor, Material> dyeToBanner; static final Map<DyeColor, Material> dyeToItem; static final Map<Material, Material> itemWallableMapping; }