• Recently Browsing

    No registered users viewing this page.

  • Posts

    • I am new to the forum and asked a question to me it was closed for the reason: we do not support 1.12.2, but I cannot update, because I have a weak computer, what should I do?
    • Ok, I tried that a few more ways, but the only way worked is to replace blendColor with the depreciated color4f. (Not sure if that's the best way to go for but that worked) Thank you @ChampionAsh5357 for all the suggestions/help private static final RenderState.TransparencyState TRANSLUCENT_TRANSPARENCY = new RenderState.TransparencyState("translucent_transparency", () -> { RenderSystem.enableBlend(); RenderSystem.blendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA); }, () -> { RenderSystem.disableBlend(); RenderSystem.defaultBlendFunc(); }); TRANSLUCENT_TRANSPARENCY.setupRenderState(); RenderSystem.color4f(1f, 1f, 1f, 0.3f); matrixStack.translate(instru_pos[currentNbo.ordinal()][0], instru_pos[currentNbo.ordinal()][1], 0); matrixStack.scale((255/20f)*scale, (255/20f)*scale, (255/20f)*scale); this.blit(matrixStack, 0, 0, 0, 146, 20, 20); TRANSLUCENT_TRANSPARENCY.clearRenderState();
    • i just tell you the best way i think is a loot table
    • 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • Гугл переводчик извините ... In general, I decided to work on NBT tags. Using the NbttagCompound class but ran into an incomprehensible problem. If I get the ItemStack via Minecraft.getMinecraft (). Player.getHeldItemMainHand () and use the item.setTagCompound (/ * something * /) method and then immediately throw the item, then the changes will not be applied, and if via PlayerInteractEvent.RightClickItem event and get ItemStack item = event.getItemStack () then after operations with nbt and item drop, it will be applied. Why is that? I noticed that in the first case, if you install nbt and immediately open the inventory, then nbt will be applied, since the item will move up and then down. In the second case, the object will immediately move back and forth. How to do this with a method?   Версия Forge 1.12.2   Если вдруг есть русские: Вообщем я решил поработать над тегами NBT. Используя класс NbttagCompound, но столкнулся с непонятной проблемой. Если я получу ItemStack через Minecraft.getMinecraft (). Player.getHeldItemMainHand () и после использую метод item.setTagCompound (/ * что то * /) и после сразу выкину предмет, то изменения не применяется, а если через PlayerInteractEvent.RightClickItem event и получить ItemStack item = event.getItemStack () то после операций с nbt и дропа предмета, он применится. Почему так? Заметил, что в первом случае, если установить nbt и сразу открыть инвентарь, то nbt применится, так как предмет сдвинется вверх, а потом вниз. Во втором случае, предмет сразу туда-сюда передвинется. Как такое сделать методом?
  • Who's Online (See full list)