mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
more fixes
This commit is contained in:
1 parent
4228b26a07
commit
c5426eb992
31 files changed
+244
-225
No files matched your search
@@ -535,21 +535,21 @@ public class TConstructRegistry
|
||||
interchangableBlockMapping[Blocks.lavaMoving] = Block.lavaStill;
|
||||
drawbridgeState[Blocks.sand] = 1;
|
||||
drawbridgeState[Blocks.gravel] = 1;
|
||||
drawbridgeState[Blocks.oreGold] = 1;
|
||||
drawbridgeState[Blocks.oreIron] = 1;
|
||||
drawbridgeState[Blocks.oreCoal] = 1;
|
||||
drawbridgeState[Blocks.gold_ore] = 1;
|
||||
drawbridgeState[Blocks.iron_ore] = 1;
|
||||
drawbridgeState[Blocks.coal_ore] = 1;
|
||||
drawbridgeState[Blocks.sponge] = 1;
|
||||
drawbridgeState[Blocks.oreLapis] = 1;
|
||||
drawbridgeState[Blocks.blockLapis] = 1;
|
||||
drawbridgeState[Blocks.lapis_ore] = 1;
|
||||
drawbridgeState[Blocks.lapis_block] = 1;
|
||||
drawbridgeState[Blocks.dispenser] = 3;
|
||||
drawbridgeState[Blocks.music] = 1;
|
||||
drawbridgeState[Blocks.bed] = 2;
|
||||
drawbridgeState[Blocks.railPowered] = 4;
|
||||
drawbridgeState[Blocks.railDetector] = 4;
|
||||
drawbridgeState[Blocks.pistonStickyBase] = 3;
|
||||
drawbridgeState[Blocks.sticky_piston] = 3;
|
||||
drawbridgeState[Blocks.web] = 1;
|
||||
drawbridgeState[Blocks.pistonBase] = 3;
|
||||
drawbridgeState[Blocks.pistonExtension] = 2;
|
||||
drawbridgeState[Blocks.piston] = 3;
|
||||
drawbridgeState[Blocks.piston_extension] = 2;
|
||||
drawbridgeState[Blocks.plantYellow] = 1;
|
||||
drawbridgeState[Blocks.plantRed] = 1;
|
||||
drawbridgeState[Blocks.mushroomBrown] = 1;
|
||||
@@ -558,8 +558,8 @@ public class TConstructRegistry
|
||||
drawbridgeState[Blocks.iron_block] = 1;
|
||||
drawbridgeState[Blocks.brick_block] = 1;
|
||||
drawbridgeState[Blocks.tnt] = 1;
|
||||
drawbridgeState[Blocks.bookShelf] = 1;
|
||||
drawbridgeState[Blocks.cobblestoneMossy] = 1;
|
||||
drawbridgeState[Blocks.bookshelf] = 1;
|
||||
drawbridgeState[Blocks.mossy_cobblestone] = 1;
|
||||
drawbridgeState[Blocks.obsidian] = 1;
|
||||
drawbridgeState[Blocks.torchWood] = 1;
|
||||
drawbridgeState[Blocks.fire] = 1;
|
||||
|
||||
@@ -17,6 +17,7 @@ import net.minecraft.entity.monster.IMob;
|
||||
import net.minecraft.entity.passive.EntityWolf;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
@@ -497,13 +498,13 @@ public class AbilityHelper
|
||||
int bID = world.getBlockId(x, y, z);
|
||||
int bIDabove = world.getBlockId(x, y + 1, z);
|
||||
|
||||
if ((side == 0 || bIDabove != 0 || bID != Block.grass.blockID) && bID != Block.dirt.blockID)
|
||||
if ((side == 0 || bIDabove != 0 || bID != Blocks.grass.blockID) && bID != Blocks.dirt.blockID)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
Block block = Block.tilledField;
|
||||
Block block = Blocks.tilledField;
|
||||
world.playSoundEffect((double) ((float) x + 0.5F), (double) ((float) y + 0.5F), (double) ((float) z + 0.5F), block.stepSound.getStepSound(),
|
||||
(block.stepSound.getVolume() + 1.0F) / 2.0F, block.stepSound.getPitch() * 0.8F);
|
||||
|
||||
|
||||
Reference in new issue
Block a user