mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-07-28 14:08:55 +00:00
Move several methods from TileGeneric to blocks
- getPickBlock is now implemented directly on computers and turtles, rather than on the tile. - Bounding boxes are handled on the block rather than tile. This ends up being a little ugly in the case of BlockPeripheral, but it's not the end of the world. - Explosion resistance is only implemented for turtles now.
This commit is contained in:
@@ -43,10 +43,10 @@ import dan200.computercraft.shared.media.items.ItemPrintout;
|
||||
import dan200.computercraft.shared.media.items.ItemTreasureDisk;
|
||||
import dan200.computercraft.shared.network.ComputerCraftPacket;
|
||||
import dan200.computercraft.shared.network.PacketHandler;
|
||||
import dan200.computercraft.shared.peripheral.modem.wired.BlockCable;
|
||||
import dan200.computercraft.shared.peripheral.common.BlockPeripheral;
|
||||
import dan200.computercraft.shared.peripheral.modem.wired.BlockWiredModemFull;
|
||||
import dan200.computercraft.shared.peripheral.diskdrive.TileDiskDrive;
|
||||
import dan200.computercraft.shared.peripheral.modem.wired.BlockCable;
|
||||
import dan200.computercraft.shared.peripheral.modem.wired.BlockWiredModemFull;
|
||||
import dan200.computercraft.shared.peripheral.modem.wireless.BlockAdvancedModem;
|
||||
import dan200.computercraft.shared.peripheral.modem.wireless.WirelessNetwork;
|
||||
import dan200.computercraft.shared.peripheral.printer.TilePrinter;
|
||||
|
||||
Reference in New Issue
Block a user