Jump to content

Starexify

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

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

Starexify's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks, but now I have the 3d model in hand (and in inventory bcz I won't need that anymore) but now when I try to throw it, it doesnt rotate and its just the end of the trident not the head part. Edit: I removed the 3d custom model. I use the original minecraft files. Json and etc. In minecraft the rendering is made in code. I sent the code in the first message. I have mostly the code. But I don't know how to register the renderers like minecraft do. For example, in minecraft there are 2 jsons: trident_in_hand and trident_throwing , I have both of them. They don't render while I have the item in hand. That's the main problem. I checked the code but I still can't figure out how to register and render the entity basically, in hand
  2. I am trying to render the Trident Item I made just like the Minecraft approach with 3D in hand, 2D inventory. How is it done? I need to make a custom BEWLR (BlockEntityWithoutLevelRenderer)? Or custom ItemRenderer? Or both? (I made both and I have no idea how to register them) and I looked through the minecraft code and didn't find something useful. So if anyone has any idea I would appreciate any help. TestTrident (The Trident Item) TestTridentBEWLR ModItemRenderer [If any other part of the code needed, ask in comments!] Edit: I solved it! If you want code. Ask in comments
  3. Yea srry I did other Pastebin: https://pastebin.com/hPNeRtNW
  4. I try to make a Glasslike block and I tried(block is not working): public void clientLoad(FMLClientSetupEvent event) { RenderTypeLookup.setRenderLayer(block, RenderType.translucent()); } Full Code: https://pastebin.com/NTF2QbNj
  5. Yea I found out that I used the method in other block and I tried it now and it works now Srry for wasting ur time 😅
  6. https://pastebin.com/6RfP2yzC
  7. No it doesn't work with requiresCorrectToolForDrops() I tried now
  8. No, I tried but I don't know what I need to put inside the parenthesis
  9. Okay, thx for this Information.
  10. I did a block and when I did in LootTables to use Silk Touch to get the item, it drop only when I use Silk Touch but it break even with Iron or Stone pickaxe and I set the harvestLevel to 2 so just Diamond only works. Someone can help me make the Silk Touch only work with Harvest Level +2?
  11. I solved it by copying the .gradle folder from another laptop where it works to run the client!
  12. Everytime I try to run the Client it says "FAILURE: Build failed with an exception." and I get this: * What went wrong: Execution failed for task ':downloadAssets'. > Failed to get asset: minecraft/lang/ba_ru.json Some assets failed to download or validate, try running the task again. Full Log: Pastebin full log.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.