mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-06 08:22:59 +00:00
Merge pull request #205 from SquidDev-CC/feature/packet-network-api
Expose wireless network in the public API
This commit is contained in:
@@ -42,14 +42,16 @@ public class TurtleModem implements ITurtleUpgrade
|
||||
m_turtle = turtle;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
protected World getWorld()
|
||||
public World getWorld()
|
||||
{
|
||||
return m_turtle.getWorld();
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
protected Vec3d getPosition()
|
||||
public Vec3d getPosition()
|
||||
{
|
||||
BlockPos turtlePos = m_turtle.getPosition();
|
||||
return new Vec3d(
|
||||
|
||||
Reference in New Issue
Block a user