use of org.bukkit.craftbukkit.v1_12_R1.entity.CraftWither in project Citizens2 by CitizensDev.
the class NMSImpl method setWitherCharged.
@Override
public void setWitherCharged(Wither wither, boolean charged) {
EntityWither handle = ((CraftWither) wither).getHandle();
handle.d(charged ? 20 : 0);
}
use of org.bukkit.craftbukkit.v1_12_R1.entity.CraftWither in project Citizens2 by CitizensDev.
the class NMSImpl method setWitherCharged.
@Override
public void setWitherCharged(Wither wither, boolean charged) {
EntityWither handle = ((CraftWither) wither).getHandle();
handle.setInvul(charged ? 20 : 0);
}
use of org.bukkit.craftbukkit.v1_12_R1.entity.CraftWither in project Citizens2 by CitizensDev.
the class NMSImpl method setWitherCharged.
@Override
public void setWitherCharged(Wither wither, boolean charged) {
EntityWither handle = ((CraftWither) wither).getHandle();
handle.s(charged ? 20 : 0);
}
use of org.bukkit.craftbukkit.v1_12_R1.entity.CraftWither in project Citizens2 by CitizensDev.
the class NMSImpl method setWitherCharged.
@Override
public void setWitherCharged(Wither wither, boolean charged) {
EntityWither handle = ((CraftWither) wither).getHandle();
handle.g(charged ? 20 : 0);
}
use of org.bukkit.craftbukkit.v1_12_R1.entity.CraftWither in project Citizens2 by CitizensDev.
the class NMSImpl method setWitherCharged.
@Override
public void setWitherCharged(Wither wither, boolean charged) {
WitherBoss handle = ((CraftWither) wither).getHandle();
handle.setInvulnerableTicks(charged ? 20 : 0);
}
Aggregations