#Why my particules are like that

36 messages · Page 1 of 1 (latest)

topaz horizon
#

hi ! im making a block that make you jump high, but, when i land or walk on it, it do this. i dont find how correct that. anyone ?

balmy obsidian
topaz horizon
#

yes

balmy obsidian
#

Do you have a json file for that block in your resources/models/block path?

topaz horizon
#

yup

#

i can give you the github

balmy obsidian
#

Can I see that file?

topaz horizon
#

if you want

balmy obsidian
#

Which block is this?

topaz horizon
#

its thruster block

topaz horizon
#

yes

#

exactly

balmy obsidian
#

Under textures, you'll need to add a line for the block particles, so it will be like this


    "textures": {
        "1": "betterendgame:block/thruster_block_top",
        "2": "betterendgame:block/thruster_block_sides",
"particles": "betterendgame:block/<INSERT TEXTURE PATH HERE>"
    },
#

You'll also need to add this to your compacted thruster block model json because it seems to have the same problem

topaz horizon
#

ohh i see

#

yup

#

i go try that

topaz horizon
#

it dont seem to resolve the problem

#

it is because in a transparent block ?

#
 public static final Block THRUSTER_BLOCK = createBlockRegister("thruster_block", new ThrusterBlock(FabricBlockSettings
            .copyOf(Blocks.SLIME_BLOCK)
            .strength(0.1F)
            .nonOpaque()));

    public static final Block COMPACTED_THRUSTER_BLOCK = createBlockRegister("compacted_thruster_block", new CompactedThrusterBlock(FabricBlockSettings
            .copyOf(Blocks.SLIME_BLOCK)
            .strength(0.1F)));
#

also

#
public class BetterEndGameClient implements ClientModInitializer {

    @Override
    public void onInitializeClient() {
        BlockRenderLayerMap.INSTANCE.putBlock(ModBlocks.THRUSTER_BLOCK, RenderLayer.getTranslucent());
    }
}
balmy obsidian
topaz horizon
#

yes

balmy obsidian
#

The particles are defined in the json files so it should be a problem in there

balmy obsidian
topaz horizon
balmy obsidian
#

It should be particle and not particles

#

My mistake

topaz horizon
#

i go try that

balmy obsidian
#

@topaz horizon Did it work?

topaz horizon