Remove unused 4096, align flag values, add max flag.
This commit is contained in:
parent
82f50dda71
commit
f6f94d4eb7
|
@ -487,10 +487,7 @@ public class BlockProperties {
|
|||
/** Liquid height if no solid/full blocks are above. */
|
||||
protected static final double LIQUID_HEIGHT_LOWERED = 80000002;
|
||||
|
||||
/** The Constant maxBlocks. */
|
||||
protected static final int maxBlocks = 4096;
|
||||
|
||||
/** Properties by block id, might be extended to 4096 later for custom blocks.*/
|
||||
/** Properties by block type.*/
|
||||
protected static final Map<Material, BlockProps> blocks = new HashMap<Material, BlockProps>();
|
||||
|
||||
/** Map for the tool properties. */
|
||||
|
@ -812,6 +809,12 @@ public class BlockProperties {
|
|||
*/
|
||||
public static final long F_VARIABLE_REDSTONE = 0x800000000L;
|
||||
|
||||
/**
|
||||
* Indicator to start recoding towards multiple flag types (shape, moving,
|
||||
* interaction, block-type/special, ...).
|
||||
*/
|
||||
public static final long F_MAX_FLAG = 0x80000000000000L;
|
||||
|
||||
// TODO: Convenience constants combining all height / minheight flags.
|
||||
|
||||
// TODO: When flags are out, switch to per-block classes :p.
|
||||
|
|
Loading…
Reference in New Issue