Minecraft Data Packs / Technology

Programmable Nintendo Switch [1.16.2]

  • check_circle Functions
  • check_circle Predicates
  • 6,620 views, 2 today
  • 437 downloads, 0 today
  • 12
  • 10
  • 4
Required Resource Pack
Synical's Avatar Synical
Level 35 : Artisan Engineer
4
Nintendo Switch
by SynicalYT

Hello there world!
Today, I've created a working Nintendo Switch in Minecraft!
You can also make your own applications for it!
A documentation will be below!
Please keep in mind though, making a large game with this isn't recommended, as it can take huge chunks of time!
The demo you saw in the video took over 2 hours to add into the API.

Documentation
Starting Out
First you need a seperate datapack for the game! If you do not know commands, I don't recommend making games.

After you've done that, and you have an idea for what you want to make, goto the next dropdown.




Select Game Text
In order to create your own game, we need to make it so when you turn the switch on, you can select your game by clicking text in your chat.

If you don't know how to do /tellraw, use MCStacker!
Demonstration of MCStacker
Notice that I have a run_command area make sure you fill that out with
/tag @s add <GAMETAG>You can change your gametag to whatever as long as it doesn't have spaces.
Now in our datapack we need to add the command!
Inside your tick function add this command below;
execute as @a[scores={rc=1..},tag=!inGame] run <Tellraw command that you generated>Your finished with this one!

Adding Screens
Alright! This is what takes up so much time!
For each possible position of the player to be in, there has to be a custom model for it.
Its long and cruel but you've made it this far!
Assuming your using Blockbench,
Make a cube with these dimensions;
Dimensions of Screens

After you've done that,
Goto Display and goto Firstperson Left

Now, input these numbers into the boxes,

Screen Measurements for Offhand


After you've done that, put the item into the game using CustomModelData.
Then use this command below for each screen in your tick function;
execute as @a if entity @s[scores={Screen=1},tag=GAMETAG_HERE] run replaceitem entity @s weapon.offhand <item you used for custommodeldata>{CustomModelData:<ID_HERE>}>Be sure to fill out the command and add 1 to the Screen scoreboard for each screen and model.

And now your done!
If The rest of what you add to your game is up to you!

Help! It's not working!
If its not working for you, then you didn't do something right.
Be sure to read over the steps carefully.
If you find a bug DM @SynicalMC on Twitter with your datapack and resource pack and what you were doing.


Thanks for Reading!
     -Synical











Credit"Nintendo Switch" by Wither Available for download at https://blockmodels.com/model/201/
CompatibilityMinecraft 1.16
Tags

Create an account or sign in to comment.

1
01/16/2021 7:56 pm
Level 1 : New Miner
KempySonic
KempySonic's Avatar
how do you even obtain the item? it doesnt say any crafting recipe, you dont spawn with the item, and theres no way to even get it
1
08/22/2020 9:56 pm
Level 1 : New Crafter
Dumbsparce
Dumbsparce's Avatar
what if you made it so it used both the offhand and the main hand? the offhand can be the player's texture, and the mainhand can be the switch and game's texture. That way you could make less textures by reusing the player sprite, but have more game. This is all just theorycrafting, i don't know if this would be possible.
1
08/23/2020 12:58 am
Level 1 : New Crafter
Dumbsparce
Dumbsparce's Avatar
nvm, should have payed attention to the video lol
1
08/23/2020 12:29 pm
Level 35 : Artisan Engineer
Synical
Synical's Avatar
hahaha yeah. I already knew you guys wouldn't be wanting to do that lol.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome