forked from LogBlock/LogBlock
formating...
This commit is contained in:
@ -209,7 +209,7 @@ public class BukkitUtils {
|
||||
Material.SOUL_WALL_TORCH,
|
||||
Material.REDSTONE_WALL_TORCH);
|
||||
|
||||
singleBlockPlants = new HashSet<Material>();
|
||||
singleBlockPlants = new HashSet<>();
|
||||
singleBlockPlants.addAll(smallFlowers);
|
||||
singleBlockPlants.add(Material.GRASS);
|
||||
singleBlockPlants.add(Material.FERN);
|
||||
@ -227,7 +227,7 @@ public class BukkitUtils {
|
||||
singleBlockPlants.add(Material.PINK_PETALS);
|
||||
singleBlockPlants.add(Material.PITCHER_CROP);
|
||||
|
||||
doublePlants = new HashSet<Material>();
|
||||
doublePlants = new HashSet<>();
|
||||
doublePlants.addAll(tallFlowers);
|
||||
doublePlants.add(Material.TALL_GRASS);
|
||||
doublePlants.add(Material.LARGE_FERN);
|
||||
@ -235,7 +235,7 @@ public class BukkitUtils {
|
||||
doublePlants.add(Material.SMALL_DRIPLEAF);
|
||||
|
||||
// Blocks that break when they are attached to a block
|
||||
relativeBreakable = new HashSet<Material>();
|
||||
relativeBreakable = new HashSet<>();
|
||||
relativeBreakable.addAll(bannerWall);
|
||||
relativeBreakable.addAll(buttons.getValues());
|
||||
relativeBreakable.addAll(wallSigns);
|
||||
@ -251,7 +251,7 @@ public class BukkitUtils {
|
||||
relativeBreakable.add(Material.LARGE_AMETHYST_BUD);
|
||||
|
||||
// Blocks that break when they are on top of a block
|
||||
relativeTopBreakable = new HashSet<Material>();
|
||||
relativeTopBreakable = new HashSet<>();
|
||||
relativeTopBreakable.addAll(bannerStanding);
|
||||
relativeTopBreakable.addAll(candleCakes.getValues());
|
||||
relativeTopBreakable.addAll(candles.getValues());
|
||||
@ -286,7 +286,7 @@ public class BukkitUtils {
|
||||
relativeTopBreakable.add(Material.BIG_DRIPLEAF_STEM);
|
||||
|
||||
// Blocks that break falling entities
|
||||
fallingEntityKillers = new HashSet<Material>();
|
||||
fallingEntityKillers = new HashSet<>();
|
||||
fallingEntityKillers.addAll(bannerAll);
|
||||
fallingEntityKillers.addAll(candleCakes.getValues());
|
||||
fallingEntityKillers.addAll(candles.getValues());
|
||||
@ -318,7 +318,7 @@ public class BukkitUtils {
|
||||
fallingEntityKillers.remove(Material.NETHER_SPROUTS);
|
||||
|
||||
// Container Blocks
|
||||
containerBlocks = new HashSet<Material>();
|
||||
containerBlocks = new HashSet<>();
|
||||
containerBlocks.addAll(shulkerBoxBlocks.getValues());
|
||||
containerBlocks.add(Material.CHEST);
|
||||
containerBlocks.add(Material.TRAPPED_CHEST);
|
||||
@ -348,7 +348,7 @@ public class BukkitUtils {
|
||||
projectileItems.put(EntityType.WITHER_SKULL, Material.WITHER_SKELETON_SKULL);
|
||||
projectileItems.put(EntityType.FIREWORK, Material.FIREWORK_ROCKET);
|
||||
|
||||
nonFluidProofBlocks = new HashSet<Material>();
|
||||
nonFluidProofBlocks = new HashSet<>();
|
||||
nonFluidProofBlocks.addAll(carpets);
|
||||
nonFluidProofBlocks.addAll(cropBlocks.getValues());
|
||||
nonFluidProofBlocks.addAll(doublePlants);
|
||||
|
Reference in New Issue
Block a user