mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-21 12:52:31 +00:00
Begin major feature structor overhaul. Just recipes left to do.
This commit is contained in:
1 parent
71016458bd
commit
85e58f4f57
32 files changed
+424
-2116
No files matched your search
@@ -9,7 +9,7 @@ import net.minecraft.world.World;
|
||||
|
||||
import com.cricketcraft.chisel.Chisel;
|
||||
import com.cricketcraft.chisel.client.GeneralChiselClient;
|
||||
import com.cricketcraft.chisel.init.ModBlocks;
|
||||
import com.cricketcraft.chisel.init.ChiselBlocks;
|
||||
import com.cricketcraft.chisel.utils.General;
|
||||
|
||||
public class EntityBallOMoss extends EntityThrowable {
|
||||
@@ -93,10 +93,10 @@ public class EntityBallOMoss extends EntityThrowable {
|
||||
resBlock = Blocks.mossy_cobblestone;
|
||||
} else if (block.equals(Blocks.cobblestone_wall) && meta == 0) {
|
||||
resMeta = 1;
|
||||
} else if (block.equals(ModBlocks.cobblestone)) {
|
||||
resBlock = ModBlocks.cobblestoneMossy;
|
||||
} else if (block.equals(ModBlocks.temple)) {
|
||||
resBlock = ModBlocks.templeMossy;
|
||||
} else if (block.equals(ChiselBlocks.cobblestone)) {
|
||||
resBlock = ChiselBlocks.mossy_cobblestone;
|
||||
} else if (block.equals(ChiselBlocks.templeblock)) {
|
||||
resBlock = ChiselBlocks.mossy_templeblock;
|
||||
} else if (block.equals(Blocks.stonebrick)) {
|
||||
resMeta = 1;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import net.minecraft.entity.projectile.EntityThrowable;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import com.cricketcraft.chisel.init.ModBlocks;
|
||||
import com.cricketcraft.chisel.init.ChiselBlocks;
|
||||
|
||||
public class EntityCloudInABottle extends EntityThrowable {
|
||||
|
||||
@@ -95,7 +95,7 @@ public class EntityCloudInABottle extends EntityThrowable {
|
||||
for (int k2 = y; k2 < y + random.nextInt(1) + 2; k2++) {
|
||||
for (int l2 = z; l2 < z + random.nextInt(4) + 1; l2++) {
|
||||
if (world.getBlock(j2, k2, l2).isAir(world, j2, k2, l2) && Math.abs(j2 - x) + Math.abs(k2 - y) + Math.abs(l2 - z) < 4 * 1 + random.nextInt(2)) {
|
||||
world.setBlock(j2, k2, l2, ModBlocks.cloud);
|
||||
world.setBlock(j2, k2, l2, ChiselBlocks.cloud);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import net.minecraft.world.World;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import com.cricketcraft.chisel.block.BlockSnakestoneObsidian;
|
||||
import com.cricketcraft.chisel.init.ModItems;
|
||||
import com.cricketcraft.chisel.init.ChiselItems;
|
||||
import com.cricketcraft.chisel.utils.General;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
@@ -97,7 +97,7 @@ public class EntityBallOMossFX extends EntityFX {
|
||||
|
||||
// setParticleIcon(block.particles[General.rand.nextInt(block.particles.length)]);
|
||||
|
||||
icon = ModItems.itemBallOMoss.getIconFromDamage(0);
|
||||
icon = ChiselItems.itemBallOMoss.getIconFromDamage(0);
|
||||
float width = 4.0f + General.rand.nextFloat() * 8.0f;
|
||||
float uu = General.rand.nextFloat() * (16.0f - width);
|
||||
float vv = General.rand.nextFloat() * (16.0f - width);
|
||||
|
||||
Reference in new issue
Block a user