mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/TileEntityEndGateway.java
|
||||
+++ b/net/minecraft/server/TileEntityEndGateway.java
|
||||
@@ -5,6 +5,10 @@
|
||||
@@ -5,13 +5,17 @@
|
||||
import java.util.Random;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@@ -11,6 +11,14 @@
|
||||
|
||||
public class TileEntityEndGateway extends TileEntity implements ITickable {
|
||||
|
||||
private static final Logger a = LogManager.getLogger();
|
||||
private long f = 0L;
|
||||
private int g = 0;
|
||||
- private BlockPosition h;
|
||||
+ public BlockPosition h; // PAIL private to public
|
||||
private boolean i;
|
||||
|
||||
public TileEntityEndGateway() {}
|
||||
@@ -103,6 +107,26 @@
|
||||
if (this.h != null) {
|
||||
BlockPosition blockposition = this.i ? this.h : this.j();
|
||||
|
Reference in New Issue
Block a user