public class RangeManager
extends java.lang.Object
| Constructor and Description |
|---|
RangeManager(net.minecraft.tileentity.TileEntity te,
int renderColour) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.AxisAlignedBB |
getExtents() |
static java.util.Set<net.minecraft.util.math.BlockPos> |
getFrame(net.minecraft.util.math.AxisAlignedBB extents) |
int |
getRange() |
void |
setRange(int newRange) |
boolean |
shouldShowRange() |
void |
toggleShowRange() |
RangeManager |
withCustomExtents(java.util.function.Supplier<net.minecraft.util.math.AxisAlignedBB> generator) |
public RangeManager(net.minecraft.tileentity.TileEntity te,
int renderColour)
public RangeManager withCustomExtents(java.util.function.Supplier<net.minecraft.util.math.AxisAlignedBB> generator)
public int getRange()
public void setRange(int newRange)
public void toggleShowRange()
public boolean shouldShowRange()
public net.minecraft.util.math.AxisAlignedBB getExtents()
public static java.util.Set<net.minecraft.util.math.BlockPos> getFrame(net.minecraft.util.math.AxisAlignedBB extents)