Initial 1.11.2 update

This commit is contained in:
Electroblob
2018-02-07 21:15:50 +00:00
parent 67f6be0671
commit 3df5597dcc
368 changed files with 17234 additions and 15082 deletions
@@ -14,7 +14,7 @@ import net.minecraft.world.World;
public class VanishingBox extends Spell {
public VanishingBox() {
public VanishingBox(){
super(Tier.ADVANCED, 45, Element.SORCERY, "vanishing_box", SpellType.UTILITY, 70, EnumAction.BOW, false);
}
@@ -24,20 +24,20 @@ public class VanishingBox extends Spell {
}
@Override
public boolean cast(World world, EntityPlayer caster, EnumHand hand, int ticksInUse, SpellModifiers modifiers) {
public boolean cast(World world, EntityPlayer caster, EnumHand hand, int ticksInUse, SpellModifiers modifiers){
if(!world.isRemote){
InventoryEnderChest enderchest = caster.getInventoryEnderChest();
if(enderchest != null){
caster.displayGUIChest(enderchest);
}
}
WizardryUtilities.playSoundAtPlayer(caster, SoundEvents.BLOCK_ENDERCHEST_OPEN, 1, 1);
return true;
}
}