Chance Cubes

Chance Cubes

46M Downloads

Schematic Command unable to handle a pure air Schematic

Shintufelper opened this issue ยท 8 comments

commented

I am attempting to create a 'clearer' schematic to be used for clearing out temporary chance cube reward constructions. I have created the schematic via World Edit.schematic file and the .ccs format. When either are run via the JSON custom reward, nothing happens. I am able to use world edit and paste the schematic file just fine and it works as intended overriding constructions with air.

Command used:
"Schematic": [ {"fileName":"cleaner.schematic"} ]

Attached are the .schematic and .ccs file:
Cleaner Test.zip

commented

After looking into the mechanics some more, there is a toggle on schematics(at least world edit) on whether or not to ignore air blocks. I was wondering if there was a way to incorporate that into the command so it can be set for a schematic, because setting it one way or the other will cause issues for different people.

commented

Yes I can add this. I now understand why this may be needed for some people

commented

Looked over the code to confirm, but Schematics that use the .ccs are able to have offsets, which are marked in the same way that block rewards do in the reward file. Eventually I will get around to updating the wiki :P

commented

If at all possible, could there also be an offset feature for schematic? An impenetrable box doesn't work well without an unbreakable floor. If not I can just block the floor.

commented

Ah that should work for what I have in mind once the RelativeToPlayer fix for .ccs is pushed live. I will just work around the air issue for the time being.

commented

Once I find time I will add the option for air blocks for the next update, which will probably be around thanksgiving time (November 24th if you don't know when that is) since I am off from college at that time.

commented

As a side note since this is about schematic issues, the .ccs format schematic in falling form does not use subID until the block stops falling; this results in a falling dark prismarine structure falling as basic prismarine until the block lands. (Tested with no delay)

commented

Added code that should make both files use the same json arguments making all schematic rewards nearly the same.