Class 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 Detail

      • WorldBorder

        public WorldBorder()
    • Method Detail

      • contains

        public boolean contains​(BlockPos pos)
      • getClosestDistance

        public double getClosestDistance​(Entity entityIn)
      • getClosestDistance

        public double getClosestDistance​(double x,
                                         double z)
      • 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)
      • 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)