Example #1
0
 @Override
 protected boolean getDoesSnow() {
   Boolean rains = ReflectionHelper.getFieldValue(BiomeBase.class, "F", biomeBase);
   if (rains != null) {
     return rains;
   }
   return false;
 }
Example #2
0
 @Override
 public void setHumidity(float humidity) {
   ReflectionHelper.setFieldValue(BiomeBase.class, "D", biomeBase, humidity);
 }
Example #3
0
 @Override
 public void setTemperature(float temperature) {
   ReflectionHelper.setFieldValue(BiomeBase.class, "C", biomeBase, temperature);
 }
Example #4
0
 static {
   ENTITY_CLASS_ID_MAP = ReflectionHelper.getFieldValue(EntityTypes.class, "f", null);
 }