public interface IOpensGui
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getClientGuiElement(int id,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.world.World world,
int x,
int y,
int z)
Return the gui for this tile
|
java.lang.Object |
getServerGuiElement(int id,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.world.World world,
int x,
int y,
int z)
Return the container for this tile
|
java.lang.Object getServerGuiElement(int id, net.minecraft.entity.player.PlayerEntity player, net.minecraft.world.World world, int x, int y, int z)
id
- Id, probably not needed but could be used for multiple guisplayer
- The player that is opening the guiworld
- The worldx
- X Posy
- Y Posz
- Z Posjava.lang.Object getClientGuiElement(int id, net.minecraft.entity.player.PlayerEntity player, net.minecraft.world.World world, int x, int y, int z)
id
- Id, probably not needed but could be used for multiple guisplayer
- The player that is opening the guiworld
- The worldx
- X Posy
- Y Posz
- Z Pos