FDPClient icon indicating copy to clipboard operation
FDPClient copied to clipboard

make Intave-Regen with packages

Open s1gw3 opened this issue 2 years ago • 1 comments

fdp client coders, I really ask you to add Intave-Regen for example, this is a regen surah from Tenacity:for example, this is a regen surah from Tenacity.

case "Intave-Regen": if (mc.thePlayer.getFoodStats().getFoodLevel() > 3 && mc.thePlayer.getHealth() <= health.getValue().floatValue()) { if (!teleported) { mc.thePlayer.setPosition(mc.thePlayer.posX, -999, mc.thePlayer.posZ); if (!mc.thePlayer.onGround) { teleported = true; } }

                if (teleported) {
                    for (int i = 0; i < 20; i++) {
                        PacketUtils.sendPacketNoEvent(new C03PacketPlayer.C04PacketPlayerPosition(mc.thePlayer.lastTickPosX, mc.thePlayer.lastTickPosY, mc.thePlayer.lastTickPosZ, false));
                    }
                    mc.thePlayer.setPositionAndUpdate(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ);
                }
            } else {
                teleported = false;
            }
            break;
    }
}

s1gw3 avatar Aug 22 '23 08:08 s1gw3

what version work intave version

NCPUser avatar Aug 23 '23 20:08 NCPUser