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

Joshi234

Members
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Joshi234

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. Hey, so im trying to render a different texture when its in your hand then the texture in inventory and this is what I have so far: anguriel.json { "parent": "lotrswordaddon:item/large", "textures": { "layer0": "lotrswordaddon:items/anguriel" } } anguriel_handheld.json { "parent": "item/handheld", "textures": { "layer0": "lotrswordaddon:items/anguriel_item" } } large.json { "parent": "item/handheld", "display": { "thirdperson_righthand": { "rotation": [ 0, -90, 55 ], "translation": [ 0,
  2. Ok I deleted the .gradle folder and did it again, now it worked
  3. Hey, I tried to do gradlew genIntellijRuns because I'm in Intelij, but I get this error when running it: > Configure project : Java: 1.8.0_271 JVM: 25.271-b09(Oracle Corporation) Arch: amd64 New Dep: net.minecraftforge:forge:1.16.3-34.1.0_mapped_snapshot_20200514-1.16 Error getting artifact: net.minecraft:client:1.16.3:extra@jar from MinecraftRepo java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source)
  4. in the model json under parent item/handheld lets it render in the hand but not bigger and still not calling render,gonna check your method
  5. public static Item.Properties properties=new Item.Properties().setISTER(() -> RenderLargerItems::new).group(ItemGroup.COMBAT); this is how I do it but I looked into the items and trident class there no item is using this way
  6. I think the problem is more that render gets never called but let me check
  7. I wrote a scode that renders the sword at to times, made it as ISTER but it never gets called and its just rendering how you see it in the screenshot package com.joshi234.lotrswordaddon; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.IRenderTypeBuffer; import net.minecraft.client.renderer.texture.TextureManager; import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation;
  8. Hey, Im currently porting my sword mod from 1.7.10 to 1.15.2 and before I could simply use the ItemSword class to render it as an sword not as an item but now if I use extends SwordItem it doesn't render the sword as an sword, it renders it as an item, how can I render the item in the hand as an normal sword?
×
×
  • Create New...

Important Information

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