The magic tests check the contents of a file and specifically a few bytes at the beginning that help to determine the file type. Various files are used to help match up a file with its file type, and these are stored in. Or we can also create default package.json file using the following command: How to create package json file? There are basically two ways to create package.json file, we can create by running following command on the command line: npm init It will create a package.json file in the specified directory. Magic Leap Magic Leap With Unity3d.
PermalinkJoin GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up
Find file Copy path
1 contributor
// Magic Book v1.3. Simply copy the following mess of JSON below into the nearest minecraft command block. |
give @p written_book 1 0 {title:'Magic Book',author:'The_Webmage',pages:[ |
'{text:'Clearnn',extra:[ |
{text:'* Entitiesn',color:black}, |
{text:' 100 blocks',color:dark_aqua,clickEvent:{action:run_command,value:'/kill @e[type=!Player,r=100]'}}, |
{text:' | ',color:black}, |
{text:'Globaln',color:dark_aqua,clickEvent:{action:run_command,value:'/kill @e[type=!Player]'}}, |
{text:'* Scoreboardn',color:black}, |
{text:' Player',color:dark_aqua,clickEvent:{action:run_command,value:'/scoreboard players reset @p'}}, |
{text:' | ',color:black}, |
{text:'Globalnn',color:dark_aqua,clickEvent:{action:run_command,value:'/scoreboard players reset *'}}, |
{text:'Givenn',color:black}, |
{text:'* Barriern',color:dark_aqua,clickEvent:{action:run_command,value:'/give @p barrier'}}, |
{text:'* Command Blockn',color:dark_aqua,clickEvent:{action:run_command,value:'/give @p command_block'}}, |
{text:'* Command Minecartn',color:dark_aqua,clickEvent:{action:run_command,value:'/give @p minecraft:command_block_minecart'}}, |
{text:'* Dragon Eggn',color:dark_aqua,clickEvent:{action:run_command,value:'/give @p minecraft:dragon_egg'}}, |
{text:'* Mob Spawnernn',color:dark_aqua,clickEvent:{action:run_command,value:'/give @p minecraft:mob_spawner'}}]}', |
'{text:'Game Settingsnn',extra:[ |
{text:'* Peacefuln',color:dark_aqua,clickEvent:{action:run_command,value:'/difficulty 0'}}, |
{text:'* Easyn',color:dark_aqua,clickEvent:{action:run_command,value:'/difficulty 1'}}, |
{text:'* Normaln',color:dark_aqua,clickEvent:{action:run_command,value:'/difficulty 2'}}, |
{text:'* Hardnn',color:dark_aqua,clickEvent:{action:run_command,value:'/difficulty 3'}}, |
{text:'* Survivaln',color:dark_aqua,clickEvent:{action:run_command,value:'/gamemode 0'}}, |
{text:'* Creativen',color:dark_aqua,clickEvent:{action:run_command,value:'/gamemode 1'}}, |
{text:'* Adventuren',color:dark_aqua,clickEvent:{action:run_command,value:'/gamemode 2'}}, |
{text:'* Spectator',color:dark_aqua,clickEvent:{action:run_command,value:'/gamemode 3'}}]}', |
'{text:'Timenn',extra:[ |
{text:'* Advance timen',color:dark_aqua,clickEvent:{action:run_command,value:'/time add 1000'}}, |
{text:'* Set time: ',color:black}, |
{text:'Day',color:dark_aqua,clickEvent:{action:run_command,value:'/time set day'}}, |
{text:' | ',color:black}, |
{text:'Nightn',color:dark_aqua,clickEvent:{action:run_command,value:'/time set night'}}, |
{text:'* Day cycle: ',color:black}, |
{text:'On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doDaylightCycle true'}}, |
{text:' | ',color:black}, |
{text:'Offnn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doDaylightCycle false'}}, |
{text:'Weathernn',color:black}, |
{text:'* Defaultn',color:dark_aqua,clickEvent:{action:run_command,value:'/weather clear'}}, |
{text:'* Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/weather clear 1000000'}}, |
{text:'* Rainn',color:dark_aqua,clickEvent:{action:run_command,value:'/weather rain 1000000'}}, |
{text:'* Thunder',color:dark_aqua,clickEvent:{action:run_command,value:'/weather rain 1000000'}}]}', |
'{text:'Summonnn',extra:[ |
{text:'* Charged Creepern',color:dark_aqua,clickEvent:{action:run_command,value:'/summon Creeper ~ ~ ~ {powered:1}'}}, |
{text:'* Ender Dragonn',color:dark_aqua,clickEvent:{action:run_command,value:'/summon EnderDragon'}}, |
{text:'* Elder Guardiann',color:dark_aqua,clickEvent:{action:run_command,value:'/summon Guardian ~ ~ ~ {Elder:1b}'}}, |
{text:'* Giantn',color:dark_aqua,clickEvent:{action:run_command,value:'/summon Giant'}}, |
{text:'* Killer Rabbitn',color:dark_aqua,clickEvent:{action:run_command,value:'/summon Rabbit ~ ~ ~ {RabbitType:99}'}}, |
{text:'* Wither Skeletonnn',color:dark_aqua,clickEvent:{action:run_command,value:'/summon Skeleton ~ ~ ~ {SkeletonType:1,Equipment:[{id:minecraft:stone_sword}]}'}}, |
{text:'* Ender Crystaln',color:dark_aqua,clickEvent:{action:run_command,value:'/summon EnderCrystal ~ ~1 ~'}}]}', |
'{text:'Other Settings Inn',color:black,extra:[ |
{text:'* Command Feedbackn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule sendCommandFeedback true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule sendCommandFeedback false'}}, |
{text:'* Command Outputn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule commandBlockOutput true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule commandBlockOutput false'}}, |
{text:'* Death Messagesn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule showDeathMessages true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule showDeathMessages false'}}, |
{text:'* Fire Tickn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doFireTick true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doFireTick false'}}, |
{text:'* Mob Lootn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doMobLoot true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doMobLoot false'}}]}', |
'{text:'Other Settings IInn',color:black,extra:[ |
{text:'* Mob Spawnsn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doMobSpawning true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doMobSpawning false'}}, |
{text:'* Tile Dropsn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doTileDrops true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule doTileDrops false'}}, |
{text:'* Inventoryn',color:black}, |
{text:' Keep',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule keepInventory true'}}, |
{text:' | ',color:black}, |
{text:'Dropn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule keepInventory false'}}, |
{text:'* Mob Griefingn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule mobGriefing true'}}, |
{text:' | ',color:black}, |
{text:'Offn',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule mobGriefing false'}}, |
{text:'* Regenerationn',color:black}, |
{text:' On',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule naturalRegeneration true'}}, |
{text:' | ',color:black}, |
{text:'Off',color:dark_aqua,clickEvent:{action:run_command,value:'/gamerule naturalRegeneration false'}}]}', |
'{text:' A creation of /u/The_Webmage.nMagic Book v1.3nnWant to check and see if you have the latest version? The /give command can be found ',extra:[ |
{text:'Here.',color:dark_aqua,clickEvent:{action:open_url,value:'http://github.com/TheWebmage/commands-json/blob/master/Magic%20Book'}}]}' |
]} |
Copy lines Copy permalink