Proper Reformating

This commit is contained in:
Kam committed 2025-03-13 17:14:45 -04:00
1 parent ce75880aba
commit 180d257024
1179 files changed
+59847 -61583

No files matched your search

@@ -109,7 +109,7 @@ public class ContainerAnvilRepair extends Container {
ItemStack output = null;
if (matchingRecipe != null) {
if(!matchingRecipe.availability.isAvailable(player)){
if (!matchingRecipe.availability.isAvailable(player)) {
return;
}
@@ -159,8 +159,6 @@ public class ContainerAnvilRepair extends Container {
}
// --- Sync Methods ---
@Override
public void addCraftingToCrafters(ICrafting listener) {
@@ -199,15 +197,15 @@ public class ContainerAnvilRepair extends Container {
@Override
public boolean canInteractWith(EntityPlayer player) {
return player.getDistanceSq((double)this.posX + 0.5D,
(double)this.posY + 0.5D,
(double)this.posZ + 0.5D) <= 64.0D;
return player.getDistanceSq((double) this.posX + 0.5D,
(double) this.posY + 0.5D,
(double) this.posZ + 0.5D) <= 64.0D;
}
@Override
public ItemStack transferStackInSlot(EntityPlayer player, int index) {
ItemStack copy = null;
Slot slot = (Slot)this.inventorySlots.get(index);
Slot slot = (Slot) this.inventorySlots.get(index);
if (slot != null && slot.getHasStack()) {
ItemStack stack = slot.getStack();
copy = stack.copy();