• Ищем качественного (не новичок) разработчиков Xenforo для этого форума! В идеале, чтобы ты был фулл стек программистом. Если у тебя есть что показать, то свяжись с нами по контактным данным: https://t.me/DREDD

Визуальная часть CustomElytra | Exp 3.1

Начинающий
Начинающий
Статус
Онлайн
Регистрация
31 Окт 2024
Сообщения
77
Реакции
0
Выберите загрузчик игры
  1. Vanilla
  2. Forge
  3. Fabric
  4. NeoForge
  5. OptiFine
  6. ForgeOptiFine
  7. Прочие моды
CustomElytrra:
Expand Collapse Copy
package im.expensive.modules.impl.visual;

import im.expensive.modules.api.Category;
import im.expensive.modules.api.Module;
import im.expensive.modules.api.ModuleInformation;
import im.expensive.modules.settings.impl.ModeSetting;
import net.minecraft.util.ResourceLocation;

@ModuleInformation(name = "CustomElytra", description = "CustomElytra", category = Category.Visual)
public class CustomElytra extends Module {
    private static final ModeSetting textureMode = new ModeSetting("Вид", "Angel", "Angel", "Blue Demon", "Blue Wings", "Dark Wings", "Green Dragon", "Guardian", "Jet", "Ripped", "Royal", "White Wings", "Yellow Wings", "Insect");

    public static ResourceLocation getTexture() {
        if (textureMode.is("Angel")) {
            return new ResourceLocation("expensive/images/player/elytra/p1.png");
        }
        if (textureMode.is("Blue Demon")) {
            return new ResourceLocation("expensive/images/player/elytra/p2.png");
        }
        if (textureMode.is("Blue Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p3.png");
        }
        if (textureMode.is("Dark Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p4.png");
        }
        if (textureMode.is("Green Dragon")) {
            return new ResourceLocation("expensive/images/player/elytra/p5.png");
        }
        if (textureMode.is("Guardian")) {
            return new ResourceLocation("expensive/images/player/elytra/p6.png");
        }
        if (textureMode.is("Jet")) {
            return new ResourceLocation("expensive/images/player/elytra/p7.png");
        }
        if (textureMode.is("Ripped")) {
            return new ResourceLocation("expensive/images/player/elytra/p8.png");
        }
        if (textureMode.is("Royal")) {
            return new ResourceLocation("expensive/images/player/elytra/p9.png");
        }
        if (textureMode.is("White Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p10.png");
        }
        if (textureMode.is("Yellow Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p11.png");
        }
        if (textureMode.is("Insect")) {
            return new ResourceLocation("expensive/images/player/elytra/p12.png");
        }
        return null;
    }

    public CustomElytra() {
        addSettings(textureMode);
    }
}


потом идем в ElytraLayer по директории net.minecraft.client.renderer.entity.layers

и в конце меняем getElytraTexture на это


getElytraTexture:
Expand Collapse Copy
public ResourceLocation getElytraTexture(ItemStack p_getElytraTexture_1_, T p_getElytraTexture_2_)
    {
        CustomElytra customElytra = Expensive.getInstance().getModuleRegister().getCustomElytra();
        if(SelfDestruct.unhooked || !customElytra.isEnabled()){
            return TEXTURE_ELYTRA;
        }
        else {
            return CustomElytra.getTexture();
        }
    }

2025-06-20_14.54.35.png

это только 1 из множества вариантов элитр

Пожалуйста, авторизуйтесь для просмотра ссылки.

просто но прикольно
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
CustomElytrra:
Expand Collapse Copy
package im.expensive.modules.impl.visual;

import im.expensive.modules.api.Category;
import im.expensive.modules.api.Module;
import im.expensive.modules.api.ModuleInformation;
import im.expensive.modules.settings.impl.ModeSetting;
import net.minecraft.util.ResourceLocation;

@ModuleInformation(name = "CustomElytra", description = "CustomElytra", category = Category.Visual)
public class CustomElytra extends Module {
    private static final ModeSetting textureMode = new ModeSetting("Вид", "Angel", "Angel", "Blue Demon", "Blue Wings", "Dark Wings", "Green Dragon", "Guardian", "Jet", "Ripped", "Royal", "White Wings", "Yellow Wings", "Insect");

    public static ResourceLocation getTexture() {
        if (textureMode.is("Angel")) {
            return new ResourceLocation("expensive/images/player/elytra/p1.png");
        }
        if (textureMode.is("Blue Demon")) {
            return new ResourceLocation("expensive/images/player/elytra/p2.png");
        }
        if (textureMode.is("Blue Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p3.png");
        }
        if (textureMode.is("Dark Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p4.png");
        }
        if (textureMode.is("Green Dragon")) {
            return new ResourceLocation("expensive/images/player/elytra/p5.png");
        }
        if (textureMode.is("Guardian")) {
            return new ResourceLocation("expensive/images/player/elytra/p6.png");
        }
        if (textureMode.is("Jet")) {
            return new ResourceLocation("expensive/images/player/elytra/p7.png");
        }
        if (textureMode.is("Ripped")) {
            return new ResourceLocation("expensive/images/player/elytra/p8.png");
        }
        if (textureMode.is("Royal")) {
            return new ResourceLocation("expensive/images/player/elytra/p9.png");
        }
        if (textureMode.is("White Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p10.png");
        }
        if (textureMode.is("Yellow Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p11.png");
        }
        if (textureMode.is("Insect")) {
            return new ResourceLocation("expensive/images/player/elytra/p12.png");
        }
        return null;
    }

    public CustomElytra() {
        addSettings(textureMode);
    }
}


потом идем в ElytraLayer по директории net.minecraft.client.renderer.entity.layers

и в конце меняем getElytraTexture на это


getElytraTexture:
Expand Collapse Copy
public ResourceLocation getElytraTexture(ItemStack p_getElytraTexture_1_, T p_getElytraTexture_2_)
    {
        CustomElytra customElytra = Expensive.getInstance().getModuleRegister().getCustomElytra();
        if(SelfDestruct.unhooked || !customElytra.isEnabled()){
            return TEXTURE_ELYTRA;
        }
        else {
            return CustomElytra.getTexture();
        }
    }


это только 1 из множества вариантов элитр

Пожалуйста, авторизуйтесь для просмотра ссылки.

просто но прикольно
Прикольно
 
Уж точно не плохо, Молодец
 
Лол я тоже могу крякнуть вилд и выкачить customitems☠️
 
сделай гайд как заменять текстурки предметов функцией,типо встроенные текстуры тотема,меча,гепла как в вилде
 
CustomElytrra:
Expand Collapse Copy
package im.expensive.modules.impl.visual;

import im.expensive.modules.api.Category;
import im.expensive.modules.api.Module;
import im.expensive.modules.api.ModuleInformation;
import im.expensive.modules.settings.impl.ModeSetting;
import net.minecraft.util.ResourceLocation;

@ModuleInformation(name = "CustomElytra", description = "CustomElytra", category = Category.Visual)
public class CustomElytra extends Module {
    private static final ModeSetting textureMode = new ModeSetting("Вид", "Angel", "Angel", "Blue Demon", "Blue Wings", "Dark Wings", "Green Dragon", "Guardian", "Jet", "Ripped", "Royal", "White Wings", "Yellow Wings", "Insect");

    public static ResourceLocation getTexture() {
        if (textureMode.is("Angel")) {
            return new ResourceLocation("expensive/images/player/elytra/p1.png");
        }
        if (textureMode.is("Blue Demon")) {
            return new ResourceLocation("expensive/images/player/elytra/p2.png");
        }
        if (textureMode.is("Blue Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p3.png");
        }
        if (textureMode.is("Dark Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p4.png");
        }
        if (textureMode.is("Green Dragon")) {
            return new ResourceLocation("expensive/images/player/elytra/p5.png");
        }
        if (textureMode.is("Guardian")) {
            return new ResourceLocation("expensive/images/player/elytra/p6.png");
        }
        if (textureMode.is("Jet")) {
            return new ResourceLocation("expensive/images/player/elytra/p7.png");
        }
        if (textureMode.is("Ripped")) {
            return new ResourceLocation("expensive/images/player/elytra/p8.png");
        }
        if (textureMode.is("Royal")) {
            return new ResourceLocation("expensive/images/player/elytra/p9.png");
        }
        if (textureMode.is("White Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p10.png");
        }
        if (textureMode.is("Yellow Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p11.png");
        }
        if (textureMode.is("Insect")) {
            return new ResourceLocation("expensive/images/player/elytra/p12.png");
        }
        return null;
    }

    public CustomElytra() {
        addSettings(textureMode);
    }
}


потом идем в ElytraLayer по директории net.minecraft.client.renderer.entity.layers

и в конце меняем getElytraTexture на это


getElytraTexture:
Expand Collapse Copy
public ResourceLocation getElytraTexture(ItemStack p_getElytraTexture_1_, T p_getElytraTexture_2_)
    {
        CustomElytra customElytra = Expensive.getInstance().getModuleRegister().getCustomElytra();
        if(SelfDestruct.unhooked || !customElytra.isEnabled()){
            return TEXTURE_ELYTRA;
        }
        else {
            return CustomElytra.getTexture();
        }
    }


это только 1 из множества вариантов элитр

Пожалуйста, авторизуйтесь для просмотра ссылки.

просто но прикольно
+реп, но что за импорты import im.expensive.functions.api.Module;
import im.expensive.functions.api.ModuleInformation; ???
 
Последнее редактирование:
о нет, заменить текстурку майна на другую в своей директории и привязать к Мод Сеттингу :anguished::anguished::anguished::anguished: что этого не может быть
 
может кто помочь пожалуйста? дс khudozhnik09002 тг @MHE_XOPOWO.
1750887855865.png
 
о нет, заменить текстурку майна на другую в своей директории и привязать к Мод Сеттингу :anguished::anguished::anguished::anguished: что этого не может быть
о нет чел обиделся что ничего не может сделать, а только умеет критиковать
может кто помочь пожалуйста? дс khudozhnik09002 тг @MHE_XOPOWO.
Посмотреть вложение 309837
isState вместо isEnabled
 
о нет чел обиделся что ничего не может сделать, а только умеет критиковать

isState вместо isEnabled
пацан я ничего не умею делать?) я хотябы не пишу на експенсиве, и у меня есть пару читов которые не только на 1.16.5, а ты ебучий пастер и пытаешься еще чето мне тут высрать со своей хуйней на експенсиве 3.1 + у тебя ебучий говнокод
 
о нет чел обиделся что ничего не может сделать, а только умеет критиковать

isState вместо isEnabled
Его хотябы не знают как пастера бездарного, Что за высер по типу "о нет чел обиделся что ничего не может сделать" Он код намного чище тебя делает ес чё)
 
будто бы можно скачать ресурспак просто
 
CustomElytrra:
Expand Collapse Copy
package im.expensive.modules.impl.visual;

import im.expensive.modules.api.Category;
import im.expensive.modules.api.Module;
import im.expensive.modules.api.ModuleInformation;
import im.expensive.modules.settings.impl.ModeSetting;
import net.minecraft.util.ResourceLocation;

@ModuleInformation(name = "CustomElytra", description = "CustomElytra", category = Category.Visual)
public class CustomElytra extends Module {
    private static final ModeSetting textureMode = new ModeSetting("Вид", "Angel", "Angel", "Blue Demon", "Blue Wings", "Dark Wings", "Green Dragon", "Guardian", "Jet", "Ripped", "Royal", "White Wings", "Yellow Wings", "Insect");

    public static ResourceLocation getTexture() {
        if (textureMode.is("Angel")) {
            return new ResourceLocation("expensive/images/player/elytra/p1.png");
        }
        if (textureMode.is("Blue Demon")) {
            return new ResourceLocation("expensive/images/player/elytra/p2.png");
        }
        if (textureMode.is("Blue Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p3.png");
        }
        if (textureMode.is("Dark Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p4.png");
        }
        if (textureMode.is("Green Dragon")) {
            return new ResourceLocation("expensive/images/player/elytra/p5.png");
        }
        if (textureMode.is("Guardian")) {
            return new ResourceLocation("expensive/images/player/elytra/p6.png");
        }
        if (textureMode.is("Jet")) {
            return new ResourceLocation("expensive/images/player/elytra/p7.png");
        }
        if (textureMode.is("Ripped")) {
            return new ResourceLocation("expensive/images/player/elytra/p8.png");
        }
        if (textureMode.is("Royal")) {
            return new ResourceLocation("expensive/images/player/elytra/p9.png");
        }
        if (textureMode.is("White Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p10.png");
        }
        if (textureMode.is("Yellow Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p11.png");
        }
        if (textureMode.is("Insect")) {
            return new ResourceLocation("expensive/images/player/elytra/p12.png");
        }
        return null;
    }

    public CustomElytra() {
        addSettings(textureMode);
    }
}


потом идем в ElytraLayer по директории net.minecraft.client.renderer.entity.layers

и в конце меняем getElytraTexture на это


getElytraTexture:
Expand Collapse Copy
public ResourceLocation getElytraTexture(ItemStack p_getElytraTexture_1_, T p_getElytraTexture_2_)
    {
        CustomElytra customElytra = Expensive.getInstance().getModuleRegister().getCustomElytra();
        if(SelfDestruct.unhooked || !customElytra.isEnabled()){
            return TEXTURE_ELYTRA;
        }
        else {
            return CustomElytra.getTexture();
        }
    }


это только 1 из множества вариантов элитр

Пожалуйста, авторизуйтесь для просмотра ссылки.

просто но прикольно
вот это ты умник 😲
 
CustomElytrra:
Expand Collapse Copy
package im.expensive.modules.impl.visual;

import im.expensive.modules.api.Category;
import im.expensive.modules.api.Module;
import im.expensive.modules.api.ModuleInformation;
import im.expensive.modules.settings.impl.ModeSetting;
import net.minecraft.util.ResourceLocation;

@ModuleInformation(name = "CustomElytra", description = "CustomElytra", category = Category.Visual)
public class CustomElytra extends Module {
    private static final ModeSetting textureMode = new ModeSetting("Вид", "Angel", "Angel", "Blue Demon", "Blue Wings", "Dark Wings", "Green Dragon", "Guardian", "Jet", "Ripped", "Royal", "White Wings", "Yellow Wings", "Insect");

    public static ResourceLocation getTexture() {
        if (textureMode.is("Angel")) {
            return new ResourceLocation("expensive/images/player/elytra/p1.png");
        }
        if (textureMode.is("Blue Demon")) {
            return new ResourceLocation("expensive/images/player/elytra/p2.png");
        }
        if (textureMode.is("Blue Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p3.png");
        }
        if (textureMode.is("Dark Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p4.png");
        }
        if (textureMode.is("Green Dragon")) {
            return new ResourceLocation("expensive/images/player/elytra/p5.png");
        }
        if (textureMode.is("Guardian")) {
            return new ResourceLocation("expensive/images/player/elytra/p6.png");
        }
        if (textureMode.is("Jet")) {
            return new ResourceLocation("expensive/images/player/elytra/p7.png");
        }
        if (textureMode.is("Ripped")) {
            return new ResourceLocation("expensive/images/player/elytra/p8.png");
        }
        if (textureMode.is("Royal")) {
            return new ResourceLocation("expensive/images/player/elytra/p9.png");
        }
        if (textureMode.is("White Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p10.png");
        }
        if (textureMode.is("Yellow Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p11.png");
        }
        if (textureMode.is("Insect")) {
            return new ResourceLocation("expensive/images/player/elytra/p12.png");
        }
        return null;
    }

    public CustomElytra() {
        addSettings(textureMode);
    }
}


потом идем в ElytraLayer по директории net.minecraft.client.renderer.entity.layers

и в конце меняем getElytraTexture на это


getElytraTexture:
Expand Collapse Copy
public ResourceLocation getElytraTexture(ItemStack p_getElytraTexture_1_, T p_getElytraTexture_2_)
    {
        CustomElytra customElytra = Expensive.getInstance().getModuleRegister().getCustomElytra();
        if(SelfDestruct.unhooked || !customElytra.isEnabled()){
            return TEXTURE_ELYTRA;
        }
        else {
            return CustomElytra.getTexture();
        }
    }


это только 1 из множества вариантов элитр

Пожалуйста, авторизуйтесь для просмотра ссылки.

просто но прикольно
Не работает
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
CustomElytrra:
Expand Collapse Copy
package im.expensive.modules.impl.visual;

import im.expensive.modules.api.Category;
import im.expensive.modules.api.Module;
import im.expensive.modules.api.ModuleInformation;
import im.expensive.modules.settings.impl.ModeSetting;
import net.minecraft.util.ResourceLocation;

@ModuleInformation(name = "CustomElytra", description = "CustomElytra", category = Category.Visual)
public class CustomElytra extends Module {
    private static final ModeSetting textureMode = new ModeSetting("Вид", "Angel", "Angel", "Blue Demon", "Blue Wings", "Dark Wings", "Green Dragon", "Guardian", "Jet", "Ripped", "Royal", "White Wings", "Yellow Wings", "Insect");

    public static ResourceLocation getTexture() {
        if (textureMode.is("Angel")) {
            return new ResourceLocation("expensive/images/player/elytra/p1.png");
        }
        if (textureMode.is("Blue Demon")) {
            return new ResourceLocation("expensive/images/player/elytra/p2.png");
        }
        if (textureMode.is("Blue Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p3.png");
        }
        if (textureMode.is("Dark Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p4.png");
        }
        if (textureMode.is("Green Dragon")) {
            return new ResourceLocation("expensive/images/player/elytra/p5.png");
        }
        if (textureMode.is("Guardian")) {
            return new ResourceLocation("expensive/images/player/elytra/p6.png");
        }
        if (textureMode.is("Jet")) {
            return new ResourceLocation("expensive/images/player/elytra/p7.png");
        }
        if (textureMode.is("Ripped")) {
            return new ResourceLocation("expensive/images/player/elytra/p8.png");
        }
        if (textureMode.is("Royal")) {
            return new ResourceLocation("expensive/images/player/elytra/p9.png");
        }
        if (textureMode.is("White Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p10.png");
        }
        if (textureMode.is("Yellow Wings")) {
            return new ResourceLocation("expensive/images/player/elytra/p11.png");
        }
        if (textureMode.is("Insect")) {
            return new ResourceLocation("expensive/images/player/elytra/p12.png");
        }
        return null;
    }

    public CustomElytra() {
        addSettings(textureMode);
    }
}


потом идем в ElytraLayer по директории net.minecraft.client.renderer.entity.layers

и в конце меняем getElytraTexture на это


getElytraTexture:
Expand Collapse Copy
public ResourceLocation getElytraTexture(ItemStack p_getElytraTexture_1_, T p_getElytraTexture_2_)
    {
        CustomElytra customElytra = Expensive.getInstance().getModuleRegister().getCustomElytra();
        if(SelfDestruct.unhooked || !customElytra.isEnabled()){
            return TEXTURE_ELYTRA;
        }
        else {
            return CustomElytra.getTexture();
        }
    }


это только 1 из множества вариантов элитр

Пожалуйста, авторизуйтесь для просмотра ссылки.

просто но прикольно
такое, легко написать как по мне
 

Похожие темы

Назад
Сверху Снизу