mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 18:39:42 -05:00
1 parent
60d1f54a7f
commit
905e0f7cac
1 file changed
+20
@@ -43,4 +43,24 @@ public interface EndGateway extends BlockState {
|
||||
* @param exact whether to teleport to the exact location
|
||||
*/
|
||||
void setExactTeleport(boolean exact);
|
||||
|
||||
/**
|
||||
* Gets the age in ticks of the gateway.
|
||||
* <br>
|
||||
* If the age is less than 200 ticks a magenta beam will be emitted, whilst
|
||||
* if it is a multiple of 2400 ticks a purple beam will be emitted.
|
||||
*
|
||||
* @return age in ticks
|
||||
*/
|
||||
long getAge();
|
||||
|
||||
/**
|
||||
* Sets the age in ticks of the gateway.
|
||||
* <br>
|
||||
* If the age is less than 200 ticks a magenta beam will be emitted, whilst
|
||||
* if it is a multiple of 2400 ticks a purple beam will be emitted.
|
||||
*
|
||||
* @param age new age in ticks
|
||||
*/
|
||||
void setAge(long age);
|
||||
}
|
||||
Reference in new issue
Block a user