Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

Вопрос Del

  • Автор темы Автор темы Relly2
  • Дата начала Дата начала
1740835238459.png


ну держи


Код:
Expand Collapse Copy
package wtf.season.functions.impl.render;

import com.google.common.eventbus.Subscribe;
import com.mojang.blaze3d.matrix.MatrixStack;
import wtf.season.Expensive;
import wtf.season.events.EventDisplay;
import wtf.season.functions.api.Category;
import wtf.season.functions.api.Function;
import wtf.season.functions.api.FunctionRegister;
import wtf.season.ui.styles.Style;
import wtf.season.utils.render.ColorUtils;
import wtf.season.utils.render.DisplayUtils;

@FunctionRegister(name = "Pisyn", type = Category.Render, description = "просто писюн")
public class Pisyn extends Function {

    @Subscribe
    public void render(EventDisplay eventDisplay) {
        float posX = 255;
        float posY = 255;

        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();

//яйки
        DisplayUtils.drawRoundedRect(posX,posY,50,50,4,ColorUtils.rgb(255, 229, 204));
        DisplayUtils.drawRoundedRect(posX+50,posY,50,50,4,ColorUtils.rgb(255, 229, 204));
        //сам ствол
        DisplayUtils.drawRoundedRect(posX+25,posY-55,50,100,4,ColorUtils.rgb(255, 229, 204));
        DisplayUtils.drawRoundedRect(posX+25,posY-75,50,30,4,ColorUtils.rgb(255, 128, 164));
    }
}
 
Посмотреть вложение 300054

ну держи


Код:
Expand Collapse Copy
package wtf.season.functions.impl.render;

import com.google.common.eventbus.Subscribe;
import com.mojang.blaze3d.matrix.MatrixStack;
import wtf.season.Expensive;
import wtf.season.events.EventDisplay;
import wtf.season.functions.api.Category;
import wtf.season.functions.api.Function;
import wtf.season.functions.api.FunctionRegister;
import wtf.season.ui.styles.Style;
import wtf.season.utils.render.ColorUtils;
import wtf.season.utils.render.DisplayUtils;

@FunctionRegister(name = "Pisyn", type = Category.Render, description = "просто писюн")
public class Pisyn extends Function {

    @Subscribe
    public void render(EventDisplay eventDisplay) {
        float posX = 255;
        float posY = 255;

        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();

//яйки
        DisplayUtils.drawRoundedRect(posX,posY,50,50,4,ColorUtils.rgb(255, 229, 204));
        DisplayUtils.drawRoundedRect(posX+50,posY,50,50,4,ColorUtils.rgb(255, 229, 204));
        //сам ствол
        DisplayUtils.drawRoundedRect(posX+25,posY-55,50,100,4,ColorUtils.rgb(255, 229, 204));
        DisplayUtils.drawRoundedRect(posX+25,posY-75,50,30,4,ColorUtils.rgb(255, 128, 164));
    }
}
все таки есть хорошие типочки)
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Назад
Сверху Снизу