Search in sources :

Example 1 with CraftWither

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.d(charged ? 20 : 0);
}
Also used : CraftWither(org.bukkit.craftbukkit.v1_13_R2.entity.CraftWither) EntityWither(net.minecraft.server.v1_13_R2.EntityWither)

Example 2 with CraftWither

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.setInvul(charged ? 20 : 0);
}
Also used : CraftWither(org.bukkit.craftbukkit.v1_16_R3.entity.CraftWither) EntityWither(net.minecraft.server.v1_16_R3.EntityWither)

Example 3 with CraftWither

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.s(charged ? 20 : 0);
}
Also used : CraftWither(org.bukkit.craftbukkit.v1_15_R1.entity.CraftWither) EntityWither(net.minecraft.server.v1_15_R1.EntityWither)

Example 4 with CraftWither

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);
}
Also used : CraftWither(org.bukkit.craftbukkit.v1_11_R1.entity.CraftWither) EntityWither(net.minecraft.server.v1_11_R1.EntityWither)

Example 5 with CraftWither

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);
}
Also used : WitherBoss(net.minecraft.world.entity.boss.wither.WitherBoss) CraftWither(org.bukkit.craftbukkit.v1_17_R1.entity.CraftWither)

Aggregations

WitherBoss (net.minecraft.world.entity.boss.wither.WitherBoss)2 EntityWither (net.minecraft.server.v1_10_R1.EntityWither)1 EntityWither (net.minecraft.server.v1_11_R1.EntityWither)1 EntityWither (net.minecraft.server.v1_12_R1.EntityWither)1 EntityWither (net.minecraft.server.v1_13_R2.EntityWither)1 EntityWither (net.minecraft.server.v1_14_R1.EntityWither)1 EntityWither (net.minecraft.server.v1_15_R1.EntityWither)1 EntityWither (net.minecraft.server.v1_16_R3.EntityWither)1 EntityWither (net.minecraft.server.v1_8_R3.EntityWither)1 CraftWither (org.bukkit.craftbukkit.v1_10_R1.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_11_R1.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_12_R1.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_13_R2.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_14_R1.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_15_R1.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_16_R3.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_17_R1.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_18_R2.entity.CraftWither)1 CraftWither (org.bukkit.craftbukkit.v1_8_R3.entity.CraftWither)1