mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-02-04 01:40:15 +00:00
Move computer right click code to the block
Rather than handling right clicks within the block entity code, we now handle it within the block. Turtles now handle the nametagging behaviour themselves, rather than overriding canNameWithTag.
This commit is contained in:
@@ -87,11 +87,6 @@ public class TurtleBlockEntity extends AbstractComputerBlockEntity implements Ba
|
||||
if (!hasMoved()) super.unload();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean canNameWithTag(Player player) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected double getInteractRange() {
|
||||
return 12.0;
|
||||
|
||||
Reference in New Issue
Block a user