public GuiMariculture(ContainerMariculture container, String texture, int yOffset) {
   super(container);
   this.TEXTURE = new ResourceLocation(Mariculture.modid, "textures/gui/" + texture + ".png");
   this.ySize += yOffset;
   this.xSize = 201;
   this.name = BlockHelper.getName(container.tile);
 }
Ejemplo n.º 2
0
 @Override
 public void breakBlock(World world, int x, int y, int z, Block block, int meta) {
   BlockHelper.dropItems(world, x, y, z);
   super.breakBlock(world, x, y, z, block, meta);
 }