-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Result of DynmapBlockScan leaves custom water blocks unrendered #89
Comments
relevant lines in the texture file:
relevant lines in the model file:
|
Comparing what I previously found for the tfc water with something that DOES get drawn
Here I notice there is a texture pointed to. That is probably why it isn't working in the tfc case. they have a handful of grayscale fluid pngs that get colored by the logic to use for each fluid block. There isn't a pre-produced independent specific png and mcmeta file for each block. in the TFC jar file: assets\tfc\textures\blocks\ is the location where you will find these:
looking at the Fluid defs in TFC, there are calls to the forge Fluid class's constructor like these (leaving out the calls to drinkable property and temperature):
forge's class has a constructor file@(https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/fluids/Fluid.java): somehow this information ties the created fresh/hot/salt water fluid representation to the blocks as well as contained fluids and associates them with the overlay and assigns the color. the blockfluidTFC and blockhotwater use these calls (so they are being handed the Fluid object containing the association with the texture overlays via the Fluid object:
I'm not entirely sure how to convey this information to dynmap in the texture entry. |
Issue Description: Dynmap sample issue description. This description would include as much and as little detail necessary for us to understand the issue in its entirety.
zoomed very far out, several oceans should be blue and are black
Coastal region.
It fixed most of the missing blocks, but hasn't provided valid information for the custom water blocks.
I don't mind manually fixing the information if needed. The files appear to have recognized the presence of fresh_water hot_water and salt_water. it just doesn't render them.
[ ] I have looked at all other issues and this is not a duplicate
[ ] I have been able to replicate this
also reported at webbukkit/dynmap#4057 as I'm not entirely sure whether blockscan was wrong with respect to the block/texture information or if dynmap itself just isn't successfully rendering these blocks.
The text was updated successfully, but these errors were encountered: