Separated assets in 3 parts-Condensed rendering code
This commit is contained in:
parent
cd01a41ae1
commit
7cf77cdad0
257 changed files with 536 additions and 1648 deletions
|
|
@ -5,10 +5,7 @@ import java.util.Random;
|
|||
import mysticworld.MysticWorld;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class BlockLightCube extends Block {
|
||||
public BlockLightCube(int id) {
|
||||
|
|
@ -34,12 +31,6 @@ public class BlockLightCube extends Block {
|
|||
MysticWorld.proxy.lightCubeFX(world, x + random.nextDouble(), y + 0.75D, z + random.nextDouble(), 0.0D, 0.0D, 0.0D, 1.0F);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister iconRegister) {
|
||||
this.blockIcon = iconRegister.registerIcon("mysticmods:" + "lightCube");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean renderAsNormalBlock() {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue