Everything posted by ChamoisEST
-
[SOLVED][1.20.1]Custom capability getCapability() lazyOptional returns null
Yes, that was exactly the problem. Thank you so much!
-
[SOLVED][1.20.1]Custom capability getCapability() lazyOptional returns null
There you go.
-
[SOLVED][1.20.1]Custom capability getCapability() lazyOptional returns null
These are fixed now, the line was just a residue of me trying to fix the capability and changing things up multiple times. Still doesn't seem to be helping, the infusionCapability and lazyInfusionHandler are still null when getCapability gets called.
-
[SOLVED][1.20.1]Custom capability getCapability() lazyOptional returns null
It seems the getCapability method gets called before the infusionCapability and lazyInfusionHandler are initialized, but I can't for the life of me figure out why.
-
[SOLVED][1.20.1]Custom capability getCapability() lazyOptional returns null
Hello! I have created a custom capability InfusionCapability that gets attached to all BlockEntities extending the class BaseInfusionEntity. Whenever I interact with the BE or place it down I get an error: BaseInfusionEntity.java When I try to access the capability at the BE tick method it seems to exist and work, but when the getCapability method gets called it's null. Any help would be appreciated ๐ Github Repository: https://github.com/ChamoisEST/MiningMadness/tree/1.20.1/src/main
-
Multipart model rotation on x axis (1.19.2)
Yes! Now it works. Thank you so much!๐
-
Multipart model rotation on x axis (1.19.2)
Yeah, sure. https://github.com/ChamoisEST/MiningMadness
-
Multipart model rotation on x axis (1.19.2)
Yes, it seems to be same.
-
Multipart model rotation on x axis (1.19.2)
The ones where UP and DOWN are false are properly rendered. Whenever either one of those is true, the model's front face is rendered, whether the front face actually needs to be rendered or not. Filter_connector model json:
-
Multipart model rotation on x axis (1.19.2)
The texture isn't transparent. It's there, it just isn't rotated. If I also add a y rotation, it still rotates on the y axis, but still no rotation on the x axis. The image in the spoiler shows what it looks like right now (should've added it in the original post, just forgot). Since UP and DOWN are both true and the rest are false, the only connections should be on the top and bottom. Instead, both of the connectors show up in the front, overlapping each other.
-
Multipart model rotation on x axis (1.19.2)
Hello! I have a multipart blockstate consisting of two different models - block base model (block/void_filter) and a connector model (block/filter_connector) that is only shown when a condition is true. The connector model should rotate automatically to the side where the condition is true. While it works great on north, east, south and west sides (y rotation), it doesn't seem to work on up and down sides (x rotation). Is it not possible to rotate a multipart blockstate part on x axis or am I missing something obvious here? blocstates\void_filter.json VoidFilterBlock.java Currently the blockState values are hard-coded just for testing purposes.
IPS spam blocked by CleanTalk.