mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
40 lines
892 B
Java
40 lines
892 B
Java
package com.hbm.blocks.bomb;
|
|
|
|
import java.util.Random;
|
|
|
|
import com.hbm.tileentity.bomb.TileEntityTurretBase;
|
|
|
|
import net.minecraft.block.BlockContainer;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.util.ChatComponentText;
|
|
import net.minecraft.world.World;
|
|
|
|
public abstract class TurretBase extends BlockContainer {
|
|
|
|
Random rand = new Random();
|
|
|
|
public TurretBase(Material mat) {
|
|
super(mat);
|
|
}
|
|
|
|
@Override
|
|
public int getRenderType(){
|
|
return -1;
|
|
}
|
|
|
|
@Override
|
|
public boolean isOpaqueCube() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public boolean renderAsNormalBlock() {
|
|
return false;
|
|
}
|
|
|
|
public abstract boolean executeHoldAction(World world, int i, double yaw, double pitch, int x, int y, int z);
|
|
public abstract void executeReleaseAction(World world, int i, double yaw, double pitch, int x, int y, int z);
|
|
|
|
}
|