Package me.vudu.Conflict.Blocks

Source Code of me.vudu.Conflict.Blocks.VirusBlock

package me.vudu.Conflict.Blocks;



import me.vudu.Conflict.ConflictPlugin;


//import org.getspout.spoutapi.block.design.Texture;

import org.bukkit.World;

import org.getspout.spoutapi.block.design.Texture;
import org.getspout.spoutapi.material.block.GenericCubeCustomBlock;

public class VirusBlock extends GenericCubeCustomBlock{

 
  public VirusBlock(ConflictPlugin plugin) {
     
      super(plugin, "VirusBlock", ConflictPlugin.VIRUSBLOCKID, "", 16);
      this.getBlockDesign().setTexture(plugin, new Texture(plugin, "http://tossat.de/~mcbukkit/images/stonebrick.png", 16, 16, 16));  
  }
 
  
   // alle darunter auch �ndern
   public void onBlockPlace(World world, int x, int y, int z) {
     if(y>1){
      // SpoutManager.getMaterialManager().overrideBlock(world.getBlockAt(x, y-1, z), this);
     }
    
     //falls oberster Block = dar�ber ist Luft
    
   }
  
  
}
TOP

Related Classes of me.vudu.Conflict.Blocks.VirusBlock

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.