Support with Create: TrainUtilities [Mod Support]:
ProgrammerLP opened this issue ยท 12 comments
The mod to integrate with
Create: TrainUtilities
Describe the feature
Hi,
i am the developer of the mod, create: trainutilities, and got some reports that blocks of my mod are not compatible with the blocks of FramedBlocks so i asked for supporting it!
thanks
Can you go into more detail how blocks from your mod are incompatible with FramedBlocks?
Or what should I do to make them compatible? @XFactHD
There are two separate issues going on here:
- For simplicity's sake, FramedBlocks only supports full cubes as camo blocks. If a given block is not see-through in any way, then I can trivially check that the block is a full cube. If the block is however see-through (vanilla glass for example), then I have no way to check that (collision shape does not suffice as the model may not fill the shape out entirely). To solve this, these blocks must be tagged with
framedblocks:frameable
block tag. By default this tag contains the glass tag (forge:glass
on 1.20.1 and before,c:glass
on 1.21), theminecraft:leaves
andminecraft:ice
tags and a few mod entries. If your blocks don't fit any of the included tags, then you need to tag your blocks withframedblocks:frameable
- FramedBlocks only uses cullable quads to generate the models as there is usually no reason to not cull quads on a given side if the side is covered by a neighboring block and it prevents issues with full cube blocks having quads that don't touch the cube volume's edges (inner cube in a slime block for example). To fix this you need to correctly specify the
cullface
parameter in your block models (see https://minecraft.wiki/w/Model#Block_models for more details)
This should fix both issues you are encountering
ok nvm, for some reason it works now!
so thank you very much for your help! ๐
Does it show any message above the hotbar when you attempt to use these specific blocks on a framed block? If these blocks have a BlockEntity
(i.e. they implement EntityBlock
, whether EntityBlock#newBlockEntity()
returns a non-null value doesn't matter), then they cannot by default be used as a camo.
If you place the affected blocks in the world, do they show the framedblocks:frameable
tag in the F3 screen?