Jump to content

Request for how to have a Block Render an Item in the world.


Recommended Posts

Posted (edited)

Example's: Minecraft Item Frames, Item pipes from build craft, Tinkers Construct Crafting Station, and Iron chests Crystal Chest, are some examples.

I would like to use this feature in a bunch of different ways and contemplating once figuring it out making a few procedures and plugins to help others.

Thank you so much for sharing your knowledge and helping me learn. TeuFox

Edited by TeuFox
typo
Posted

Well, since you mentioned the vanilla Item Frame, have you tried looking into its code to see what it does? You need a TileEntityRenderer to do things like: rendering an item on a block (think about a pedestal that renders an item on its top), rendering a custom model (think about the enchanting table animated book that spins around) etc..and basically rendering every other fancy effect you can think of. You may find this example very useful: https://github.com/TheGreyGhost/MinecraftByExample/tree/working-1-16-4/src/main/java/minecraftbyexample/mbe21_tileentityrenderer

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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