@Override public int getId() { return DATA.ordinal(); } },
/** * Use this instead of {@link #ordinal()}. They work exactly the same, except * DATA and ENCODED_DATA get the same id using this method (overridden for * {@link #ENCODED_DATA}). * @return block type id from 0 to the number of block types - 1 */ public int getId() { // Default implementation, can be overridden for individual enum members. return ordinal(); }
/** * Use this instead of {@link #ordinal()}. They work exactly the same, except * DATA and ENCODED_DATA get the same id using this method (overridden for * {@link #ENCODED_DATA}). * @return block type id from 0 to the number of block types - 1 */ public int getId() { // Default implementation, can be overridden for individual enum members. return ordinal(); }
/** * Use this instead of {@link #ordinal()}. They work exactly the same, except * DATA and ENCODED_DATA get the same id using this method (overridden for * {@link #ENCODED_DATA}). * @return block type id from 0 to the number of block types - 1 */ public int getId() { // Default implementation, can be overridden for individual enum members. return ordinal(); }
@Override public int getId() { return DATA.ordinal(); } },
@Override public int getId() { return DATA.ordinal(); } },
@Override public int getId() { return DATA.ordinal(); } },
/** * Use this instead of {@link #ordinal()}. They work exactly the same, except * DATA and ENCODED_DATA get the same id using this method (overridden for * {@link #ENCODED_DATA}). * @return block type id from 0 to the number of block types - 1 */ public int getId() { // Default implementation, can be overridden for individual enum members. return ordinal(); }
/** * Use this instead of {@link #ordinal()}. They work exactly the same, except * DATA and ENCODED_DATA get the same id using this method (overridden for * {@link #ENCODED_DATA}). * @return block type id from 0 to the number of block types - 1 */ public int getId() { // Default implementation, can be overridden for individual enum members. return ordinal(); }
@Override public int getId() { return DATA.ordinal(); } },