save stuff here

This commit is contained in:
Ben Kerllenevich
2023-06-09 00:01:03 -04:00
parent 0b3c94c72d
commit 8768f54932
159 changed files with 4276 additions and 3663 deletions

View File

@@ -1290,7 +1290,7 @@ index bf5705551720d338ee0b790504727685b1f8f026..8e2274f7dce34e0997356205cf96e46f
super.aiStep();
- this.level.getProfiler().push("looting");
+ //this.level.getProfiler().push("looting"); // Purpur
if (!this.level.isClientSide && this.canPickUpLoot() && this.isAlive() && !this.dead && (this.level.purpurConfig.entitiesPickUpLootBypassMobGriefing || this.level.getGameRules().getBoolean(GameRules.RULE_MOBGRIEFING))) {
if (!this.level.isClientSide && this.canPickUpLoot() && this.isAlive() && !this.dead && (this.level().purpurConfig.entitiesPickUpLootBypassMobGriefing || this.level.getGameRules().getBoolean(GameRules.RULE_MOBGRIEFING))) {
Vec3i baseblockposition = this.getPickupReach();
List<ItemEntity> list = this.level.getEntitiesOfClass(ItemEntity.class, this.getBoundingBox().inflate((double) baseblockposition.getX(), (double) baseblockposition.getY(), (double) baseblockposition.getZ()));
@@ -719,7 +719,7 @@ public abstract class Mob extends LivingEntity implements Targeting {
@@ -1704,7 +1704,7 @@ index 6f47f6c785dc8da6b211ac87630a3d83c42d1576..73cdb6b1793b264e1ec8ff51c4f82743
- this.level.getProfiler().push("villagerBrain");
+ //this.level.getProfiler().push("villagerBrain"); // Purpur
// Purpur start
if (this.level.purpurConfig.villagerLobotomizeEnabled) {
if (this.level().purpurConfig.villagerLobotomizeEnabled) {
// treat as inactive if lobotomized
@@ -357,7 +357,7 @@ public class Villager extends AbstractVillager implements ReputationEventHandler
restock();