fix two minor bugs and restore block step sounds
This commit is contained in:
parent
9883e790c4
commit
516c680b91
6 changed files with 6 additions and 10 deletions
|
@ -53,9 +53,7 @@ public class BlockSpring extends Block {
|
|||
super(Material.rock);
|
||||
setBlockUnbreakable();
|
||||
setResistance(6000000.0F);
|
||||
|
||||
// TODO: set proper sound
|
||||
//setStepSound(soundStoneFootstep);
|
||||
setStepSound(soundTypeStone);
|
||||
|
||||
disableStats();
|
||||
setTickRandomly(true);
|
||||
|
|
|
@ -42,7 +42,7 @@ public class RecursiveBlueprintBuilder {
|
|||
|
||||
public BptBuilderBase nextBuilder() {
|
||||
if (!returnedThis) {
|
||||
blueprint.adjustToWorld(world, x, y, x, dir);
|
||||
blueprint.adjustToWorld(world, x, y, z, dir);
|
||||
|
||||
returnedThis = true;
|
||||
|
||||
|
|
|
@ -149,6 +149,7 @@ public class CoreProxy implements ICoreProxy {
|
|||
|
||||
private WeakReference<EntityPlayer> createNewPlayer(WorldServer world, int x, int y, int z) {
|
||||
EntityPlayer player = FakePlayerFactory.get(world, BuildCraftCore.gameProfile);
|
||||
player.posX = x;
|
||||
player.posY = y;
|
||||
player.posZ = z;
|
||||
return new WeakReference<EntityPlayer>(player);
|
||||
|
|
|
@ -27,7 +27,7 @@ public class WorldPropertyIsLeaf extends WorldProperty {
|
|||
if (block == null) {
|
||||
return false;
|
||||
} else {
|
||||
ItemStack stack = new ItemStack(block);
|
||||
ItemStack stack = new ItemStack(block, 1, meta);
|
||||
|
||||
if (stack.getItem() != null) {
|
||||
for (int id : OreDictionary.getOreIDs(stack)) {
|
||||
|
|
|
@ -35,9 +35,7 @@ public class BlockMiningWell extends BlockBuildCraft {
|
|||
|
||||
setHardness(5F);
|
||||
setResistance(10F);
|
||||
|
||||
// TODO: set proper sound
|
||||
//setStepSound(soundStoneFootstep);
|
||||
setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -43,8 +43,7 @@ public class BlockQuarry extends BlockBuildCraft {
|
|||
|
||||
setHardness(10F);
|
||||
setResistance(10F);
|
||||
// TODO: set proper sound
|
||||
//setStepSound(soundAnvilFootstep);
|
||||
setStepSound(soundTypeAnvil);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue