Package btw.block.tileentity.beacon
Class MagneticPoint
java.lang.Object
btw.block.tileentity.beacon.MagneticPoint
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMagneticPoint(int iIPos, int iJPos, int iKPos, int iFieldLevel) MagneticPoint(NBTTagCompound tagCompound) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetFieldStrengthRelativeToPosition(double dRelativeX, double dRelativeZ) doublegetFieldStrengthRelativeToPositionWithBackgroundNoise(double dRelativeX, double dRelativeZ) voidloadFromNBT(NBTTagCompound tagCompound) writeToNBT(NBTTagCompound tagCompound)
-
Field Details
-
posX
public int posX -
posY
public int posY -
posZ
public int posZ -
fieldLevel
public int fieldLevel
-
-
Constructor Details
-
MagneticPoint
public MagneticPoint() -
MagneticPoint
public MagneticPoint(int iIPos, int iJPos, int iKPos, int iFieldLevel) -
MagneticPoint
-
-
Method Details
-
loadFromNBT
-
writeToNBT
-
getFieldStrengthRelativeToPosition
public double getFieldStrengthRelativeToPosition(double dRelativeX, double dRelativeZ) -
getFieldStrengthRelativeToPositionWithBackgroundNoise
public double getFieldStrengthRelativeToPositionWithBackgroundNoise(double dRelativeX, double dRelativeZ)
-