Kade TodoList: Difference between revisions

From ETM
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
* Disable HORSE CarryingChests
* Disable HORSE CarryingChests
* Recheck dropDeathLoot OutputHelper.error("Debug: old dropDeathLoot is still in use?" + this); //kade
* Recheck dropDeathLoot OutputHelper.error("Debug: old dropDeathLoot is still in use?" + this); //kade
* Check EntityGuardian drop rate loweredprotected void dropDeathLoot(boolean flag, int i) {    OutputHelper.error("Debug: old dropDeathLoot is still in use?" + this); //kade
* Check EntityGuardian drop rate lowered
<source>


    if(hasSpecialName || EntityHelper.isPopulationDisabled(this)) return; //kade, dont drop from named entities as they dont age   if(this instanceof EntityGuardian && this.random.nextFloat() < 0.66){ //kade edit, drop way less stuff for guardians   return;     }
 
//   if(this instanceof EntityEnderman && this.getWorld().environment == Environment.THE_END && this.random.nextFloat() < 0.90){ //kade edit, drop way less stuff for enderman in the end
protected void dropDeathLoot(boolean flag, int i) {<br />  OutputHelper.error("Debug: old dropDeathLoot is still in use?" + this); //kade<br /><br />  if(hasSpecialName || EntityHelper.isPopulationDisabled(this)) return; //kade, dont drop from named entities as they dont age<br />  if(this instanceof EntityGuardian && this.random.nextFloat() < 0.66){ //kade edit, drop way less stuff for guardians<br />  return; <br />  }<br />// if(this instanceof EntityEnderman && this.getWorld().environment == Environment.THE_END && this.random.nextFloat() < 0.90){ //kade edit, drop way less stuff for enderman in the end<br />//   return; <br />// }
//   return;  
 
//   }
 
</source

Revision as of 14:24, 3 March 2020

  • DispenseBehaviorShulkerBox allowed?
  • Disable HORSE CarryingChests
  • Recheck dropDeathLoot OutputHelper.error("Debug: old dropDeathLoot is still in use?" + this); //kade
  • Check EntityGuardian drop rate lowered

<source>


protected void dropDeathLoot(boolean flag, int i) {
OutputHelper.error("Debug: old dropDeathLoot is still in use?" + this); //kade

if(hasSpecialName || EntityHelper.isPopulationDisabled(this)) return; //kade, dont drop from named entities as they dont age
if(this instanceof EntityGuardian && this.random.nextFloat() < 0.66){ //kade edit, drop way less stuff for guardians
return;
}
// if(this instanceof EntityEnderman && this.getWorld().environment == Environment.THE_END && this.random.nextFloat() < 0.90){ //kade edit, drop way less stuff for enderman in the end
// return;
// }


</source