1.0.2 push
This commit is contained in:
parent
6e4de4f6e9
commit
4070e560d1
17 changed files with 701 additions and 36 deletions
|
@ -37,7 +37,7 @@ public class RitualEffectCrushing extends RitualEffect
|
|||
int currentEssence = data.currentEssence;
|
||||
World world = ritualStone.getWorld();
|
||||
|
||||
if (world.getWorldTime() % 40 != 0)
|
||||
if (world.getWorldTime() % 40 != 20)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ public class RitualEffectCrushing extends RitualEffect
|
|||
|
||||
if (block != null)
|
||||
{
|
||||
if ((block.equals(ModBlocks.ritualStone) || block.equals(ModBlocks.blockMasterStone)))
|
||||
if ((block.equals(ModBlocks.ritualStone) || block.equals(ModBlocks.blockMasterStone)) || block.getBlockHardness(world, x + i, y + j, z + k) == -1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -145,7 +145,7 @@ public class RitualEffectSoulBound extends RitualEffect
|
|||
|
||||
if (spawnedItem != null)
|
||||
{
|
||||
EntityItem newItem = new EntityItem(world, x + 0.5, y + 1, z + 0.5, spawnedItem);
|
||||
EntityItem newItem = new EntityItem(world, x + 0.5, y + 1, z + 0.5, spawnedItem.copy());
|
||||
world.spawnEntityInWorld(newItem);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue