MCPcopy Create free account
hub / github.com/Teneted/Tenet / isBlock

Method isBlock

src/main/java/org/bukkit/Material.java:3706–4477  ·  view source on GitHub ↗

Checks if this Material is a placable block @return true if this material is a block

()

Source from the content-addressed store, hash-verified

3704 * @return true if this material is a block
3705 */
3706 public boolean isBlock() {
3707 switch (this) {
3708 //<editor-fold defaultstate="collapsed" desc="isBlock">
3709 case ACACIA_BUTTON:
3710 case ACACIA_DOOR:
3711 case ACACIA_FENCE:
3712 case ACACIA_FENCE_GATE:
3713 case ACACIA_LEAVES:
3714 case ACACIA_LOG:
3715 case ACACIA_PLANKS:
3716 case ACACIA_PRESSURE_PLATE:
3717 case ACACIA_SAPLING:
3718 case ACACIA_SIGN:
3719 case ACACIA_SLAB:
3720 case ACACIA_STAIRS:
3721 case ACACIA_TRAPDOOR:
3722 case ACACIA_WALL_SIGN:
3723 case ACACIA_WOOD:
3724 case ACTIVATOR_RAIL:
3725 case AIR:
3726 case ALLIUM:
3727 case ANCIENT_DEBRIS:
3728 case ANDESITE:
3729 case ANDESITE_SLAB:
3730 case ANDESITE_STAIRS:
3731 case ANDESITE_WALL:
3732 case ANVIL:
3733 case ATTACHED_MELON_STEM:
3734 case ATTACHED_PUMPKIN_STEM:
3735 case AZURE_BLUET:
3736 case BAMBOO:
3737 case BAMBOO_SAPLING:
3738 case BARREL:
3739 case BARRIER:
3740 case BASALT:
3741 case BEACON:
3742 case BEDROCK:
3743 case BEEHIVE:
3744 case BEETROOTS:
3745 case BEE_NEST:
3746 case BELL:
3747 case BIRCH_BUTTON:
3748 case BIRCH_DOOR:
3749 case BIRCH_FENCE:
3750 case BIRCH_FENCE_GATE:
3751 case BIRCH_LEAVES:
3752 case BIRCH_LOG:
3753 case BIRCH_PLANKS:
3754 case BIRCH_PRESSURE_PLATE:
3755 case BIRCH_SAPLING:
3756 case BIRCH_SIGN:
3757 case BIRCH_SLAB:
3758 case BIRCH_STAIRS:
3759 case BIRCH_TRAPDOOR:
3760 case BIRCH_WALL_SIGN:
3761 case BIRCH_WOOD:
3762 case BLACKSTONE:
3763 case BLACKSTONE_SLAB:

Callers 15

isSolidMethod · 0.95
isTransparentMethod · 0.95
isFlammableMethod · 0.95
isBurnableMethod · 0.95
isOccludingMethod · 0.95
hasGravityMethod · 0.95
getHardnessMethod · 0.95
getBlastResistanceMethod · 0.95
fromLegacyMethod · 0.95
getDataValueMethod · 0.45
spawnFallingBlockMethod · 0.45
toLegacyDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected