Exemple #1
0
 /**
  * Register new sub-type, may replace existing sub-types. Should be used only if you know what are
  * you doing, it will not create fully usable material.
  *
  * @param element sub-type to register
  */
 public static void register(final IronOreMat element) {
   byID.put((byte) element.getType(), element);
   byName.put(element.name(), element);
 }
Exemple #2
0
 /**
  * Register new sub-type, may replace existing sub-types. Should be used only if you know what are
  * you doing, it will not create fully usable material.
  *
  * @param element sub-type to register
  */
 public static void register(final PlanksMat element) {
   byID.put((byte) element.getType(), element);
   byName.put(element.getTypeName(), element);
 }
Exemple #3
0
 /**
  * Register new sub-type, may replace existing sub-types. Should be used only if you know what are
  * you doing, it will not create fully usable material.
  *
  * @param element sub-type to register
  */
 public static void register(final SpruceFenceMat element) {
   byID.put((byte) element.getType(), element);
   byName.put(element.getTypeName(), element);
 }