Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello, I working for a mod and I would like add when the block has custom property an animation on the basic textures. I would like using RenderWorldLastEvent but I don't know how I can add the animation position and in front of the block texture.

Thank you for help me.

  • Author

Hum, euh no. I fact I would like add this animation for all blocks had the property and no for juste one. It's for that I think to use RenderWorldLastEvent. Sorry for this misunderstanding. Can you show me an example?

  • Author

Okay, I create a custom class and I stock with multi events some datas. I use NBTTagCompound for this and it work. Now I want add an animation in front of the texture of blocks when there are a custom property (NBT) . (In the tag, there are the blocks position, etc... with the custom property). The problem is I don't know how I can add this render. I think RenderWorldLastEvent can resolved that, but I'm not good for the render. Can you help me for add a position for the render or if I can use a better method?

What will this look like from a player’s perspective? Be detailed, currently it sounds like there’s better ways to do what you want.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

  • Author

I think add runes can be interesting on the block. Maybe for the shapes, I can use a custom texture. You think there are a more simply solution? The deplacement can be in the diagonal in the up. A litle like the enchantment glint movement.

On 6/20/2019 at 9:56 PM, TheMinecraftBox said:

You think there are a more simply solution?

Yes. I still don’t understand what you’re trying to do, and don’t really know anything about it except that it involves runes.

On 6/20/2019 at 12:09 PM, Cadiboo said:

What will this look like from a player’s perspective? Be detailed

 

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

  • Author
23 hours ago, Cadiboo said:

Yes. I still don’t understand what you’re trying to do, and don’t really know anything about it except that it involves runes.

When the block has a custom property (in my custom file and placed in the world), for the visual, I would like to add an animation on the texture of the block. (Like the glint of enchantment: it's a render on the texture). The runes would be my custom texture on the block texture and there would be movement. The runes would be semi-transparent and move diagonally upwards. I hope I'm being clear.

If I understand correctly, you want to add a custom texture in front of the block texture like the destroy texture but you want to add movement to your custom texture. The runes are this texture... okay but where you have difficulties?

On 6/23/2019 at 7:10 PM, TheMinecraftBox said:

The runes would be semi-transparent and move diagonally upwards.

Would they be like the enchantment particles and move around outside the block, or is it just an animated texture?

 

If it’s just a texture, you can have your block have different models for different blockstates, and you can use .mcmeta to animate your texture (the way water and lava are animated)

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

  • Author
On 6/29/2019 at 4:36 PM, Sanyste said:

okay but where you have difficulties?

I don't know how to add a position in the world with a rendering.

 

20 hours ago, Cadiboo said:

Would they be like the enchantment particles and move around outside the block, or is it just an animated texture?

I prefer they be like the enchantment particles.

You can spawn particles in the Block#randomDisplayTick method. Look at BlockEnchantmentTable#randomDisplayTick, BlockLiquid#randomDisplayTick and BlockFurnace#randomDisplayTick.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.