Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

menackni

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About menackni

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. protected static final DimensionType NETHER_TYPE = new DimensionType(OptionalLong.of(18000L), false, true, true, false, 8.0D, false, true, false, true, false, 128, FuzzedBiomeMagnifier.INSTANCE, BlockTags.INFINIBURN_NETHER.getName(), THE_NETHER_ID, 0.1F); This code in DimensionType class. I found that 8.0D its what i need but i dosent know how to change this or override nether_type. If mod with same functionality exist you can give me url (i need it for my mod pack).
  2. I try it before but seems i did something wrong, thanks you give this method second chance.
  3. Do you mean make like that? code bolowe render nothing @Override public void render(MatrixStack ms, int mouseX, int mouseY, float partialTicks) { this.renderBackground(ms); super.render(ms, mouseX, mouseY, partialTicks); this.renderHoveredTooltip(ms, mouseX, mouseY); Minecraft mc=Minecraft.getInstance(); ItemRenderer ir=mc.getItemRenderer(); ItemStack is=container.getInventory().get(0).copy(); if (!is.isEmpty()){ ms.push(); ms.translate(10, 10, 10); ms.rotate(Vector3f.YP.rotation
  4. I realise that items not icons, but result of renderItemAndEffectIntoGUI(ItemStack, mouseX, mouseY) "look like icon" they work perfectly but cant rotate or scale items with methots that i know. With renderItem(ItemStack, TransformType, x, y, matrixStack, IRenderTypeBuffer) i can transform items how i want, but for some reasons it color everything red except heads and crash game when i try to put enchanted items. My goal is to make gui where i can rotate and transform items.
  5. Also items with enchanted effect cause crash game. Also also this code work too but dosen draw shadows, enchantments and heads. ir.renderModel(ir.getItemModelWithOverrides(is, mc.world, mc.player), is, 240, 0, ms, irtb.getBuffer(RenderType.getCutout())); irtb.finish();
  6. I try draw items like models instead of icons, i already fix deephtest but items still red, i try dig vanilla code and doing like it but it dosent work @Override public void render(MatrixStack ms, int mouseX, int mouseY, float partialTicks) { this.renderBackground(ms); super.render(ms, mouseX, mouseY, partialTicks); this.renderHoveredTooltip(ms, mouseX, mouseY); Minecraft mc=Minecraft.getInstance(); ItemRenderer ir=mc.getItemRenderer(); ItemStack is=container.getInventory().get(0); if (!is.isEmpty()){
  7. Hello. I am trying to render item in gui like i do it in tileEntityRenderer but it dosent work. I start digging and experementing, and find that this code work but every thing "excepting ender dragon head" colored red and deephtest only work on full blocks and ender dragon head. @Override public void render(MatrixStack ms, int mouseX, int mouseY, float partialTicks) { this.renderBackground(ms); super.render(ms, mouseX, mouseY, partialTicks); this.renderHoveredTooltip(ms, mouseX, mouseY); Minecraft mc=Minecraft.getInstance();
  8. Hello, I am try to render some things(entity, item..) with tileentity, but when block goes offscreen these things stop rendering. So, question is how can i Expand render box for block or disable this *feature* Sorry if my englis not good, i rarely use this language. Example:
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.