This commit is contained in:
Alexdoru committed 2023-01-26 00:55:34 +01:00
1 parent 80d6d2abd8
commit c4fa3cbbfe
65 files changed
+188 -305

No files matched your search

@@ -50,17 +50,17 @@ public class BlockFalling extends Block {
p_149830_2_ + b0,
p_149830_3_ + b0,
p_149830_4_ + b0)) {
//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);
//}
// 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);
// }
} else {
p_149830_1_.setBlockToAir(p_149830_2_, p_149830_3_, p_149830_4_);
@@ -2,6 +2,8 @@ package tconstruct.blocks.traps;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.List;
import java.util.Random;
import mantle.blocks.MantleBlock;
import mantle.world.WorldHelper;
import net.minecraft.block.Block;
@@ -18,9 +20,6 @@ import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import tconstruct.library.TConstructRegistry;
import java.util.List;
import java.util.Random;
public class Landmine extends MantleBlock {
/** The mob type that can trigger this pressure plate. */
private EnumCreatureType triggerMobType;