Leaves are glitchy
TsCode1 opened this issue ยท 15 comments
For some reason the leaves sometimes don't work and they are orange.
I think you should add on option for "Don't destroy orange" So it keeps the same base block instead of breaking it forever and replacing it forever.
I also think you should if you can, fix pots or cauldrons that are filled with flower/water.
Big fan of the mod, thanks .
The current workaround is to use /schematicaReplace
to set the player=true/decay=false flags.
I also think you should if you can, fix pots or cauldrons that are filled with flower/water.
Fix what exactly?
Is there a way i can do such a command on a multiplayer server?
Also, pots that are filled with plants are not detected by printer, but I assume that won't be possible to fix due to minecraft's entity IDs
Is there a way i can do such a command on a multiplayer server?
Yep, the command is clientside, so you can use it even on servers. I think you should be able to do something like:
/schematicaReplace minecraft:leaves[decayable=true] minecraft:leaves[decayable=false]
but you may need to do a larger command (I'm not 100% sure how block states work in /schematicaReplace
):
/schematicaReplace minecraft:leaves[variant=oak,check_decay=false,decayable=true] minecraft:leaves[variant=oak,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves[variant=oak,check_decay=true,decayable=true] minecraft:leaves[variant=oak,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves[variant=spruce,check_decay=false,decayable=true] minecraft:leaves[variant=spruce,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves[variant=spruce,check_decay=true,decayable=true] minecraft:leaves[variant=spruce,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves[variant=birch,check_decay=false,decayable=true] minecraft:leaves[variant=birch,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves[variant=birch,check_decay=true,decayable=true] minecraft:leaves[variant=birch,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves[variant=jungle,check_decay=false,decayable=true] minecraft:leaves[variant=jungle,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves[variant=jungle,check_decay=true,decayable=true] minecraft:leaves[variant=jungle,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves2[variant=acacia,check_decay=false,decayable=true] minecraft:leaves2[variant=acacia,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves2[variant=acacia,check_decay=true,decayable=true] minecraft:leaves2[variant=acacia,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves2[variant=dark_oak,check_decay=false,decayable=true] minecraft:leaves2[variant=dark_oak,check_decay=false,decayable=false]
/schematicaReplace minecraft:leaves2[variant=dark_oak,check_decay=true,decayable=true] minecraft:leaves2[variant=dark_oak,check_decay=false,decayable=false]
Note that the command is case-sensitive.
Also, pots that are filled with plants are not detected by printer, but I assume that won't be possible to fix due to minecraft's entity IDs
Yeah, they have a block entity. It might be possible to add printer support (since the block entity is sent to the client), though.
You actually don't have to specify the log type. If you omit it in the filter and replacement, it will just keep the original value.
The following would update all log types (oak, spruce, birch, jungle / acacia, dark oak):
/schematicaReplace minecraft:log[axis=none] minecraft:log[axis=y]
/schematicaReplace minecraft:log2[axis=none] minecraft:log2[axis=y]
The replacer does 3 things:
- make a copy of the default block state
- copy all matching properties from the source block (for example:
color
, blue glass > blue hardened clay) - apply all replacement filters (second argument to
schematicaReplace
)
can you guys also give me a command to replace full sided logs to a different block?
You can use F3 to get block states of a block (both the one in the schematic, indicated with [S], and the normal minecraft one), which is useful for making these commands.
It'd be e.g. /schematicaReplace minecraft:log[axis=none,variant=oak] minecraft:log[axis=y,variant=oak]
.
Check the vanilla wiki page: Wood (Block State). It's basically the log orientation, where none
is a block without a top texture.
ok ive figured it out, just cant seem to replace dispensers idk why. i did /schematicaReplace minecraft:dispenser minecraft:air and i also tried /schematicaReplace minecraft:dispenser[triggered=false,facing=west] minecraft:crafting_table and it says 0 replaced
Just checked the code, tile entities are currently disabled.
Is there a way i can make air blocks not get destroyed by printer? like in world edit when u paste -a, ignoring all the air blocks. Thanks btw.