Massive rework of configs, items and blocks.
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
This commit is contained in:
parent
8601e9faff
commit
e3644f2d2b
304 changed files with 3941 additions and 5108 deletions
|
@ -9,8 +9,7 @@ import net.minecraft.potion.PotionEffect;
|
|||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class EntityEarthElemental extends EntityElemental implements IMob
|
||||
{
|
||||
public class EntityEarthElemental extends EntityElemental implements IMob {
|
||||
public EntityEarthElemental(World world)
|
||||
{
|
||||
super(world, AlchemicalWizardry.entityEarthElementalID);
|
||||
|
@ -20,9 +19,9 @@ public class EntityEarthElemental extends EntityElemental implements IMob
|
|||
{
|
||||
if (target instanceof EntityLivingBase)
|
||||
{
|
||||
((EntityLivingBase)target).attackEntityFrom(DamageSource.causeMobDamage(this), 10);
|
||||
((EntityLivingBase)target).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 100, 4));
|
||||
((EntityLivingBase)target).addPotionEffect(new PotionEffect(AlchemicalWizardry.customPotionInhibit.id, 150, 0));
|
||||
((EntityLivingBase) target).attackEntityFrom(DamageSource.causeMobDamage(this), 10);
|
||||
((EntityLivingBase) target).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 100, 4));
|
||||
((EntityLivingBase) target).addPotionEffect(new PotionEffect(AlchemicalWizardry.customPotionInhibit.id, 150, 0));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue