Kade TodoList: Difference between revisions

From ETM
Jump to navigation Jump to search
(Created page with "* DispenseBehaviorShulkerBox allowed? * Disable HORSE CarryingChests * Recheck dropDeathLoot OutputHelper.error("Debug: old dropDeathLoot is still in use?" + this); //kade * C...")
 
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 lowered
* Check EntityGuardian drop rate loweredprotected 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;
//    }

Revision as of 14:23, 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 loweredprotected 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; // }