mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
Upload my Code Changes/Format/imports
This commit is contained in:
1 parent
5bcdb7ca46
commit
5d4e38c0cb
264 files changed
+4014
-3972
No files matched your search
@@ -52,9 +52,15 @@ public class BlockFalling extends Block
|
||||
{
|
||||
if (!p_149830_1_.isRemote)
|
||||
{
|
||||
//EntityFallingBlock entityfallingblock = new EntityFallingBlock(p_149830_1_, (double)((float)p_149830_2_ + 0.5F), (double)((float)p_149830_3_ + 0.5F), (double)((float)p_149830_4_ + 0.5F), this, p_149830_1_.getBlockMetadata(p_149830_2_, p_149830_3_, p_149830_4_));
|
||||
//this.func_149829_a(entityfallingblock);
|
||||
//p_149830_1_.spawnEntityInWorld(entityfallingblock);
|
||||
// EntityFallingBlock entityfallingblock = new
|
||||
// EntityFallingBlock(p_149830_1_,
|
||||
// (double)((float)p_149830_2_ + 0.5F),
|
||||
// (double)((float)p_149830_3_ + 0.5F),
|
||||
// (double)((float)p_149830_4_ + 0.5F), this,
|
||||
// p_149830_1_.getBlockMetadata(p_149830_2_, p_149830_3_,
|
||||
// p_149830_4_));
|
||||
// this.func_149829_a(entityfallingblock);
|
||||
// p_149830_1_.spawnEntityInWorld(entityfallingblock);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -97,9 +103,10 @@ public class BlockFalling extends Block
|
||||
}
|
||||
else
|
||||
{
|
||||
//TODO: King, take a look here when doing liquids!
|
||||
//Material material = block.blockMaterial;
|
||||
//return material == Material.water ? true : material == Material.lava;
|
||||
// TODO: King, take a look here when doing liquids!
|
||||
// Material material = block.blockMaterial;
|
||||
// return material == Material.water ? true : material ==
|
||||
// Material.lava;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user