mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
save stuff here
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user