Class DeathChestLocationFinder.Location
- java.lang.Object
-
- com.therandomlabs.vanilladeathchest.deathchest.DeathChestLocationFinder.Location
-
- Enclosing class:
- DeathChestLocationFinder
public static final class DeathChestLocationFinder.Location extends Object
A death chest location.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.minecraft.util.math.BlockPosgetPos()Returns theBlockPosof this location.booleanisDoubleChest()Returns whether a double chest should be placed at this location.
-
-
-
Method Detail
-
getPos
public net.minecraft.util.math.BlockPos getPos()
Returns theBlockPosof this location. If this is a double chest, this is the position of the west block.- Returns:
- the
BlockPosof this location.
-
isDoubleChest
public boolean isDoubleChest()
Returns whether a double chest should be placed at this location.- Returns:
trueif a double chest should be placed at this location, or otherwisefalse.
-
-