2021-10-12 02:57:32 -05:00
|
|
|
//
|
|
|
|
|
// Source code recreated from a .class file by IntelliJ IDEA
|
|
|
|
|
// (powered by Fernflower decompiler)
|
|
|
|
|
//
|
|
|
|
|
|
2021-10-18 06:33:39 -05:00
|
|
|
package noppes.npcs.scripted.interfaces;
|
2021-10-12 02:57:32 -05:00
|
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
2022-05-11 16:31:14 -05:00
|
|
|
import noppes.npcs.scripted.ScriptTileEntity;
|
2021-10-12 02:57:32 -05:00
|
|
|
|
|
|
|
|
public interface IBlock {
|
|
|
|
|
int getX();
|
|
|
|
|
|
|
|
|
|
int getY();
|
|
|
|
|
|
|
|
|
|
int getZ();
|
|
|
|
|
|
|
|
|
|
IPos getPos();
|
|
|
|
|
|
|
|
|
|
String getName();
|
|
|
|
|
|
|
|
|
|
void remove();
|
|
|
|
|
|
|
|
|
|
boolean isAir();
|
|
|
|
|
|
|
|
|
|
IBlock setBlock(String var1);
|
|
|
|
|
|
|
|
|
|
IBlock setBlock(IBlock var1);
|
|
|
|
|
|
|
|
|
|
boolean isContainer();
|
|
|
|
|
|
|
|
|
|
IContainer getContainer();
|
|
|
|
|
|
|
|
|
|
IWorld getWorld();
|
|
|
|
|
|
2022-05-11 16:31:14 -05:00
|
|
|
boolean hasTileEntity();
|
|
|
|
|
|
|
|
|
|
ScriptTileEntity getTileEntity();
|
|
|
|
|
|
|
|
|
|
void setTileEntity(ScriptTileEntity tileEntity);
|
|
|
|
|
|
2021-10-12 02:57:32 -05:00
|
|
|
TileEntity getMCTileEntity();
|
|
|
|
|
|
|
|
|
|
Block getMCBlock();
|
|
|
|
|
|
|
|
|
|
String getDisplayName();
|
2022-05-11 16:31:14 -05:00
|
|
|
|
|
|
|
|
INbt getTileEntityNBT();
|
2021-10-12 02:57:32 -05:00
|
|
|
}
|