nlipiarski / MCC

Marshal Command Code Syntax Highlighter
GNU General Public License v3.0
14 stars 2 forks source link

Some NBT tags of entities and blocks are missing completely. #22

Closed Panossa closed 7 years ago

Panossa commented 7 years ago

See attached image: snap_2017 07 12_00h41m13s_010_c--users-illya-desktop-missing-or-broken-nbt-tags -2--mcfunction - - sublime text -unregistered-

Code:

###
#Missing tags:
    testfor @s {DataVersion:2}
    testfor @s {HandDropChances:[0.0f,0.1f]}
    testfor @s {ArmorDropChances:[0.0f,0.0f,0.0f,0.0f]}
    testfor @s {playerGameType:2}
    testfor @s {Score:2}
    testfor @s {SelectedItemSlot:2}
    testfor @s {SpawnX:2}
    testfor @s {SpawnY:2}
    testfor @s {SpawnZ:2}
    testfor @s {SpawnForced:1b}
    testfor @s {Sleeping:1b}
    testfor @s {SleepTimer:2s}
    testfor @s {foodLevel:2}
    testfor @s {foodExhaustionLevel:1.0f}
    testfor @s {foodSaturationLevel:1.0f}
    testfor @s {foodTickTimer:2}
    testfor @s {XpLevel:2}
    testfor @s {XpP:1.0f}
    testfor @s {XpSeed:2}
    testfor @s {EnderItems:[{}]}
    testfor @s {ShoulderEntityLeft:{}}
    testfor @s {ShoulderEntityRight:{}}
    testfor @s {seenCredits:1b}
    testfor @s {recipeBook:{}}
    testfor @s {Item:{tag:{display:{MapColor:2}}}}
    testfor @s {Item:{tag:{display:{LocName:""}}}}
    testfor @s {RootVehicle:{AttachLeast:2L,AttachMost:2L}}
    testfor @s {Item:{tag:{pages:[]}}}
    testfor @s {abilities:{walkSpeed:1.0f}}
    testfor @s {abilities:{flySpeed:1.0f}}
    testfor @s {abilities:{mayfly:1b}}
    testfor @s {abilities:{invulnerable:1b}}
    testfor @s {abilities:{mayBuild:1b}}
    testfor @s {abilities:{instabuild:1b}}
    testfor @s {SpellTicks:2}
    testfor @s {Sitting:1b}
    testfor @s {LifeTicks:2}
    testfor @s {Offers:{Recipes:[{uses:2}]}}
    testfor @s {DecorItem:{}}
    testfor @s {Pumpkin:1b}
    testfor @s {BoundX:2}
    testfor @s {BoundY:2}
    testfor @s {BoundZ:2}
    testfor @s {ConversionPlayerLeast:2L}
    testfor @s {ConversionPlayerMost:2L}
    testfor @s {crit:1b}
    testfor @s {direction:[0.0d,0.0d,0.0d]}
    testfor @s {power:[0.0d,0.0d,0.0d]}
    testfor @s {ownerName:""}
    testfor @s {OwnerUUIDLeast:2L}
    testfor @s {OwnerUUIDMost:2L}
    testfor @s {Warmup:2}
    testfor @s {ActiveEffects:[]}
    testfor @s {DeathLootTable:""}
    testfor @s {DeathLootTableSeed:2L}
    testfor @s {Leashed:1b}
    testfor @s {Leash:{}}
    testfor @s {Leash:{UUIDMost:2L}}
    testfor @s {Leash:{UUIDLeast:2L}}
    testfor @s {Leash:{X:2L}}
    testfor @s {Leash:{Y:2L}}
    testfor @s {Leash:{Z:2L}}
    testfor @s {inLove:2}
    testfor @s {LoveCauseLeast:2L}
    testfor @s {LoveCauseMost:2L}

#               Target:{L:2 <- is highlighted. M not.
    testfor @s {Target:{M:2L}}

    testfor @s {Item:{tag:{map_scale_direction:2}}}
    testfor @s {Item:{tag:{map_tracking_position:1b}}}
    testfor @s {Pos:[1.0d,1.0d,1.0d}
    testfor @s {Motion:[1.0d,1.0d,1.0d]}

    testfor @s {HurtByTimestamp:2}
    testfor @s {AbsorptionAmount:0.0f}
    testfor @s {HurtTime:2s}
    testfor @s {DeathTime:2s}
    testfor @s {FallFlying:1b}

#BLOCKS
    testforblock ~ ~ ~ bed * {x:2}
    testforblock ~ ~ ~ bed * {y:2}
    testforblock ~ ~ ~ bed * {z:2}
    testforblock ~ ~ ~ cauldron * {CustomColor:2}
    testforblock ~ ~ ~ cauldron * {PotionId:2s}
    testforblock ~ ~ ~ cauldron * {SplashPotion:1b}
    testforblock ~ ~ ~ cauldron * {isMovable:1b}
    testforblock ~ ~ ~ command_block * {conditionMet:1b}
    testforblock ~ ~ ~ command_block * {UpdateLastExecution:1b}
    testforblock ~ ~ ~ command_block * {LastExecution:2L}
    testforblock ~ ~ ~ piston * {source:1b}
    testforblock ~ ~ ~ structure_block * {name:""}
    testforblock ~ ~ ~ structure_block * {metadata:""}
    testforblock ~ ~ ~ structure_block * {posX:2}
    testforblock ~ ~ ~ structure_block * {posY:2}
    testforblock ~ ~ ~ structure_block * {posZ:2}
    testforblock ~ ~ ~ structure_block * {sizeX:2}
    testforblock ~ ~ ~ structure_block * {sizeY:2}
    testforblock ~ ~ ~ structure_block * {sizeZ:2}
    testforblock ~ ~ ~ structure_block * {rotation:""}
    testforblock ~ ~ ~ structure_block * {mirror:""}
    testforblock ~ ~ ~ structure_block * {mode:""}
    testforblock ~ ~ ~ structure_block * {ignoreEntities:1b}
###

Pointed out by Maxaxik via ChunkFormat

Panossa commented 7 years ago

Edited the code. There were two wrong lines. (UUIDMost and Least)

Moesh-zz commented 7 years ago

We may have to tag team this one @42iscool42