mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -7,16 +7,16 @@ import org.bukkit.block.BlockFace;
|
||||
* Material data for the piston base block
|
||||
*/
|
||||
public class PistonBaseMaterial extends MaterialData implements Directional, Redstone {
|
||||
|
||||
|
||||
public PistonBaseMaterial(final Material type) {
|
||||
super(type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a PistonBaseMaterial.
|
||||
*
|
||||
*
|
||||
* @param type the material type to use
|
||||
* @param data the raw data value
|
||||
* @param data the raw data value
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
|
@@ -23,7 +23,7 @@ public class Wood extends MaterialData {
|
||||
|
||||
/**
|
||||
* Constructs a wood block of the given tree species.
|
||||
*
|
||||
*
|
||||
* @param species the species of the wood block
|
||||
*/
|
||||
public Wood(TreeSpecies species) {
|
||||
|
@@ -66,8 +66,8 @@ public enum MushroomBlockTexture {
|
||||
* Stem texture on all faces.
|
||||
*/
|
||||
ALL_STEM(15, null);
|
||||
private final static Map<Byte, MushroomBlockTexture> BY_DATA = Maps.newHashMap();
|
||||
private final static Map<BlockFace, MushroomBlockTexture> BY_BLOCKFACE = Maps.newHashMap();
|
||||
private static final Map<Byte, MushroomBlockTexture> BY_DATA = Maps.newHashMap();
|
||||
private static final Map<BlockFace, MushroomBlockTexture> BY_BLOCKFACE = Maps.newHashMap();
|
||||
|
||||
private final Byte data;
|
||||
private final BlockFace capFace;
|
||||
|
Reference in New Issue
Block a user