• Я зарабатываю 100 000 RUB / месяц на этом сайте!

    А знаешь как? Я всего-лишь публикую (создаю темы), а админ мне платит. Трачу деньги на мороженое, робуксы и сервера в Minecraft. А ещё на паль из Китая. 

    Хочешь так же? Пиши и узнавай условия: https://t.me/alex_redact
    Реклама: https://t.me/yougame_official

Часть функционала PotionTracker | exp 3.1

Статус
В этой теме нельзя размещать новые ответы.
Начинающий
Начинающий
Статус
Оффлайн
Регистрация
29 Ноя 2024
Сообщения
22
Реакции
0
Выберите загрузчик игры
  1. Vanilla
  2. OptiFine
Приветствую! Сливаю potiontracker на expensive 3.1 , мб кому понадобится xd
если вам понравилось пожалуйста поставьте реакцию
давайте без клоунов xd
package why.youclient.functions.impl.misc;

import why.youclient.events.EventSplashPotion;
import why.youclient.events.EventTarget;
import why.youclient.functions.api.Category;
import why.youclient.functions.api.Function;
import why.youclient.functions.api.FunctionRegister;
import why.youclient.utils.client.ClientUtil;
import net.minecraft.util.StringUtils;
import net.minecraft.util.text.StringTextComponent;
import net.minecraft.util.text.TextComponent;

@FunctionRegister(
name = "PotionTracker",
description = "",
type = Category.Miscellaneous
)
public class PotionTracker extends Function {
@EventTarget
private void onSplash(EventSplashPotion event) {
TextComponent component = new StringTextComponent("");
if (event.getEntity() != null) {
component.append(event.getEntity().getDisplayName());
component.appendString(": получил: ");
} else {
component.appendString("Ник неизвестен: получил: ");
}

component.append(event.getPotionEntity().getPotion().getDisplayName());
component.appendString(": " + StringUtils.ticksToElapsedTime(event.getDuration()));
ClientUtil.sendMesage(component);
}
}
 
я сдохну пока тему проверят(
 
Приветствую! Сливаю potiontracker на expensive 3.1 , мб кому понадобится xd
если вам понравилось пожалуйста поставьте реакцию
давайте без клоунов xd
package why.youclient.functions.impl.misc;

import why.youclient.events.EventSplashPotion;
import why.youclient.events.EventTarget;
import why.youclient.functions.api.Category;
import why.youclient.functions.api.Function;
import why.youclient.functions.api.FunctionRegister;
import why.youclient.utils.client.ClientUtil;
import net.minecraft.util.StringUtils;
import net.minecraft.util.text.StringTextComponent;
import net.minecraft.util.text.TextComponent;

@FunctionRegister(
name = "PotionTracker",
description = "",
type = Category.Miscellaneous
)
public class PotionTracker extends Function {
@EventTarget
private void onSplash(EventSplashPotion event) {
TextComponent component = new StringTextComponent("");
if (event.getEntity() != null) {
component.append(event.getEntity().getDisplayName());
component.appendString(": получил: ");
} else {
component.appendString("Ник неизвестен: получил: ");
}

component.append(event.getPotionEntity().getPotion().getDisplayName());
component.appendString(": " + StringUtils.ticksToElapsedTime(event.getDuration()));
ClientUtil.sendMesage(component);
}
}
нихуя кроме синглплеера не обойдет, молодец :summyrofl:
 
Приветствую! Сливаю potiontracker на expensive 3.1 , мб кому понадобится xd
если вам понравилось пожалуйста поставьте реакцию
давайте без клоунов xd
package why.youclient.functions.impl.misc;

import why.youclient.events.EventSplashPotion;
import why.youclient.events.EventTarget;
import why.youclient.functions.api.Category;
import why.youclient.functions.api.Function;
import why.youclient.functions.api.FunctionRegister;
import why.youclient.utils.client.ClientUtil;
import net.minecraft.util.StringUtils;
import net.minecraft.util.text.StringTextComponent;
import net.minecraft.util.text.TextComponent;

@FunctionRegister(
name = "PotionTracker",
description = "",
type = Category.Miscellaneous
)
public class PotionTracker extends Function {
@EventTarget
private void onSplash(EventSplashPotion event) {
TextComponent component = new StringTextComponent("");
if (event.getEntity() != null) {
component.append(event.getEntity().getDisplayName());
component.appendString(": получил: ");
} else {
component.appendString("Ник неизвестен: получил: ");
}

component.append(event.getPotionEntity().getPotion().getDisplayName());
component.appendString(": " + StringUtils.ticksToElapsedTime(event.getDuration()));
ClientUtil.sendMesage(component);
}
}
спуфнут
 
Приветствую! Сливаю potiontracker на expensive 3.1 , мб кому понадобится xd
если вам понравилось пожалуйста поставьте реакцию
давайте без клоунов xd
package why.youclient.functions.impl.misc;

import why.youclient.events.EventSplashPotion;
import why.youclient.events.EventTarget;
import why.youclient.functions.api.Category;
import why.youclient.functions.api.Function;
import why.youclient.functions.api.FunctionRegister;
import why.youclient.utils.client.ClientUtil;
import net.minecraft.util.StringUtils;
import net.minecraft.util.text.StringTextComponent;
import net.minecraft.util.text.TextComponent;

@FunctionRegister(
name = "PotionTracker",
description = "",
type = Category.Miscellaneous
)
public class PotionTracker extends Function {
@EventTarget
private void onSplash(EventSplashPotion event) {
TextComponent component = new StringTextComponent("");
if (event.getEntity() != null) {
component.append(event.getEntity().getDisplayName());
component.appendString(": получил: ");
} else {
component.appendString("Ник неизвестен: получил: ");
}

component.append(event.getPotionEntity().getPotion().getDisplayName());
component.appendString(": " + StringUtils.ticksToElapsedTime(event.getDuration()));
ClientUtil.sendMesage(component);
}
}
/del no ss
 
где ss? /del
 
Приветствую! Сливаю potiontracker на expensive 3.1 , мб кому понадобится xd
если вам понравилось пожалуйста поставьте реакцию
давайте без клоунов xd
package why.youclient.functions.impl.misc;

import why.youclient.events.EventSplashPotion;
import why.youclient.events.EventTarget;
import why.youclient.functions.api.Category;
import why.youclient.functions.api.Function;
import why.youclient.functions.api.FunctionRegister;
import why.youclient.utils.client.ClientUtil;
import net.minecraft.util.StringUtils;
import net.minecraft.util.text.StringTextComponent;
import net.minecraft.util.text.TextComponent;

@FunctionRegister(
name = "PotionTracker",
description = "",
type = Category.Miscellaneous
)
public class PotionTracker extends Function {
@EventTarget
private void onSplash(EventSplashPotion event) {
TextComponent component = new StringTextComponent("");
if (event.getEntity() != null) {
component.append(event.getEntity().getDisplayName());
component.appendString(": получил: ");
} else {
component.appendString("Ник неизвестен: получил: ");
}

component.append(event.getPotionEntity().getPotion().getDisplayName());
component.appendString(": " + StringUtils.ticksToElapsedTime(event.getDuration()));
ClientUtil.sendMesage(component);
}
}
/del смысл того что ты запостил сюда код с дика? xd
 
Приветствую! Сливаю potiontracker на expensive 3.1 , мб кому понадобится xd
если вам понравилось пожалуйста поставьте реакцию
давайте без клоунов xd
package why.youclient.functions.impl.misc;

import why.youclient.events.EventSplashPotion;
import why.youclient.events.EventTarget;
import why.youclient.functions.api.Category;
import why.youclient.functions.api.Function;
import why.youclient.functions.api.FunctionRegister;
import why.youclient.utils.client.ClientUtil;
import net.minecraft.util.StringUtils;
import net.minecraft.util.text.StringTextComponent;
import net.minecraft.util.text.TextComponent;

@FunctionRegister(
name = "PotionTracker",
description = "",
type = Category.Miscellaneous
)
public class PotionTracker extends Function {
@EventTarget
private void onSplash(EventSplashPotion event) {
TextComponent component = new StringTextComponent("");
if (event.getEntity() != null) {
component.append(event.getEntity().getDisplayName());
component.appendString(": получил: ");
} else {
component.appendString("Ник неизвестен: получил: ");
}

component.append(event.getPotionEntity().getPotion().getDisplayName());
component.appendString(": " + StringUtils.ticksToElapsedTime(event.getDuration()));
ClientUtil.sendMesage(component);
}
}
Тип самое тяжолое что есть в этой функции это красивый вывод в чат чтобы все понравилось
 
Тип, ты не шаришь если тип победилку забафает а ты в пизде, ты по ебалу получишь? скажи
Если он не ансофт будет
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
сливали если не ошибаюсь /del
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху Снизу