use of org.bukkit.craftbukkit.v1_17_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.r(charged ? 20 : 0);
}
use of org.bukkit.craftbukkit.v1_17_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_17_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.r(charged ? 20 : 0);
}
use of org.bukkit.craftbukkit.v1_17_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_17_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