base mod created
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package net.minecraft.dispenser;
|
||||
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
||||
public interface IBlockSource extends ILocatableSource
|
||||
{
|
||||
double getX();
|
||||
|
||||
double getY();
|
||||
|
||||
double getZ();
|
||||
|
||||
BlockPos getBlockPos();
|
||||
|
||||
/**
|
||||
* Gets the block state of this position and returns it.
|
||||
* @return Block state in this position
|
||||
*/
|
||||
IBlockState getBlockState();
|
||||
|
||||
<T extends TileEntity> T getBlockTileEntity();
|
||||
}
|
||||
Reference in New Issue
Block a user