[1.16.5] Adding a custom particle to an entity does not work, but vanilla particles do.
By
Toasterkid,
in Modder Support
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
There are a few methods available. There is AABB which lets you calculate an intersect(). For the entity you would just use entity.getBoundingBox(), the other one would be whatever part of your block you want to check. There is a pretty complicated entity.collideBoundingBox() that lets you pass an intersection of shapes. Or you could just do your own (optimised?) calculation based on the entity.getBoundingBox()
-
There's a way to show people the error in their ways, without being an elitist asshole. This is not that way.
-
By cadbane86140 · Posted
Hello There! In the 91st episode of Hunger Games Ben and Cad attempt their quest with the diamond chestplate once again but end up doing something that hasn't been done on this series before! -
By diesieben07 · Posted
GuiComponent also has static methods of blit. -
If it helps, I did something similar recently. This is the overlay class, implementing IIngameOverlay: https://github.com/Syrikal/alchemine/blob/main/src/main/java/syric/alchemine/client/VitaSlimeOverlay.java Here's my overlay registry class, which triggers at the same time I register blocks and items and whatnot: https://github.com/Syrikal/alchemine/blob/aae585ab7d23fd4be688a60642f200ab09a4fe38/src/main/java/syric/alchemine/setup/AlchemineOverlays.java And here's where I turn the overlays on and off (it's triggered by RenderFogEvent because it happens concurrently with some fog stuff, but this is a little hacky.) https://github.com/Syrikal/alchemine/blob/47d9d08a092d3e26441bace8fb5014db0c78c332/src/main/java/syric/alchemine/client/FogEffects.java
-
-
Topics
Recommended Posts
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.