Package net.minecraft.world.border
Class WorldBorder
- java.lang.Object
-
- net.minecraft.world.border.WorldBorder
-
public class WorldBorder extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description WorldBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(IBorderListener listener)
boolean
contains(AxisAlignedBB bb)
boolean
contains(BlockPos pos)
boolean
contains(ChunkCoordIntPair range)
double
getCenterX()
double
getCenterZ()
double
getClosestDistance(double x, double z)
double
getClosestDistance(Entity entityIn)
double
getDamageAmount()
double
getDamageBuffer()
double
getDiameter()
protected java.util.List<IBorderListener>
getListeners()
double
getResizeSpeed()
int
getSize()
EnumBorderStatus
getStatus()
double
getTargetSize()
long
getTimeUntilTarget()
int
getWarningDistance()
int
getWarningTime()
double
maxX()
double
maxZ()
double
minX()
double
minZ()
void
setCenter(double x, double z)
void
setDamageAmount(double newAmount)
void
setDamageBuffer(double bufferSize)
void
setSize(int size)
void
setTransition(double newSize)
void
setTransition(double oldSize, double newSize, long time)
void
setWarningDistance(int warningDistance)
void
setWarningTime(int warningTime)
-
-
-
Method Detail
-
contains
public boolean contains(BlockPos pos)
-
contains
public boolean contains(ChunkCoordIntPair range)
-
contains
public boolean contains(AxisAlignedBB bb)
-
getClosestDistance
public double getClosestDistance(Entity entityIn)
-
getClosestDistance
public double getClosestDistance(double x, double z)
-
getStatus
public EnumBorderStatus getStatus()
-
minX
public double minX()
-
minZ
public double minZ()
-
maxX
public double maxX()
-
maxZ
public double maxZ()
-
getCenterX
public double getCenterX()
-
getCenterZ
public double getCenterZ()
-
setCenter
public void setCenter(double x, double z)
-
getDiameter
public double getDiameter()
-
getTimeUntilTarget
public long getTimeUntilTarget()
-
getTargetSize
public double getTargetSize()
-
setTransition
public void setTransition(double newSize)
-
setTransition
public void setTransition(double oldSize, double newSize, long time)
-
getListeners
protected java.util.List<IBorderListener> getListeners()
-
addListener
public void addListener(IBorderListener listener)
-
setSize
public void setSize(int size)
-
getSize
public int getSize()
-
getDamageBuffer
public double getDamageBuffer()
-
setDamageBuffer
public void setDamageBuffer(double bufferSize)
-
getDamageAmount
public double getDamageAmount()
-
setDamageAmount
public void setDamageAmount(double newAmount)
-
getResizeSpeed
public double getResizeSpeed()
-
getWarningTime
public int getWarningTime()
-
setWarningTime
public void setWarningTime(int warningTime)
-
getWarningDistance
public int getWarningDistance()
-
setWarningDistance
public void setWarningDistance(int warningDistance)
-
-