Package forestry.api.core
Interface ILocationProvider
- All Known Subinterfaces:
IAlvearyController,IBeeHousing,IButterflyNursery
public interface ILocationProvider
Interface for things, that have a location.
Must not be named "getWorld" and "getPos" to avoid
SpecialSource issue https://github.com/md-5/SpecialSource/issues/12
TODO rename to getBlockPos, getLevel in 1.21
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.BlockPosnet.minecraft.world.level.Level
-
Method Details
-
getCoordinates
net.minecraft.core.BlockPos getCoordinates() -
getWorldObj
@Nullable net.minecraft.world.level.Level getWorldObj()
-