Remove a few no longer needed mixins (#1243)
This commit is contained in:
1 parent
763abe68c9
commit
212b6a792e
12 files changed
+10
-152
No files matched your search
@@ -42,11 +42,6 @@ public abstract class ItemEntityMixin extends Entity implements ItemEntityInterf
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAgeCM() {
|
||||
return this.itemAge;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPickupDelayCM() {
|
||||
return this.pickupDelay;
|
||||
@@ -105,7 +100,7 @@ public abstract class ItemEntityMixin extends Entity implements ItemEntityInterf
|
||||
self.setStack(selfStack);
|
||||
|
||||
this.pickupDelay = Math.max(((ItemEntityInterface)other).getPickupDelayCM(), this.pickupDelay);
|
||||
this.itemAge = Math.min(((ItemEntityInterface)other).getAgeCM(), this.itemAge);
|
||||
this.itemAge = Math.min(other.getItemAge(), this.itemAge);
|
||||
|
||||
otherStack.decrement(amount);
|
||||
if (otherStack.isEmpty())
|
||||
|
||||
Reference in new issue
Block a user