I've been working on the cake textures for a texture pack and because of how the cake is rendered, it is very hard for me to line up the "creamy" stuff on the side and the inner texture of the cake. I have included screenshots to show what i mean.
Is there a way to maybe even change the inner texture for every stage?
Basically I'm trying to find the absolute difference between A and B. If it is negative I make it positive. If the result is not 0 (there is a difference) then A != B.
How would i test if a fake player (i added a player to a scoreboard with /scoreboard player set command)'s score is not equal to a value? I know that to test for fake players you would use /scoreboard players test
To put all the commands into a group of commands blocks, I'd use MCEdit. Just figure out how many commands you have, place that many command blocks into a chain, and use MCEdit to copy and paste the commands. You know how you can use MCEdit to look at all the commands inside a command block? Yeah, do that, then copy and paste the commands into the text document. Make sure that there's 1 empty line between each command, you you have a command, then a blank line, then the next command, then a blank line, and so on. It's not the easiest, but it works.
Or, just use Functions in 1.12. It's about 10 times easier.
Yea, I made a MCEdit filter that actually works right now, the only problem is that the repeating command blocks will not run even when set to always active. I have to manually block update them for them to work, which is tedious.
The thing about functions is that it doesn't take parameters. My command blocks will be running repetitive command but with different values every time.
like you place all those commands in one command block that then creates other blocks from just that command?
or are the command blocks seperated by areas of some kind?
I believe that there are no internal logic for one command generators. All of the command blocks are being run at the same time and all the time which is not I want. I want to generating chains of command blocks where only some commands are executed when certain conditions are met.
Currently I'm writing a MCEdit filter to do this but I have encountered problems with editing the NBT data for the command blocks. The "Command" Tag seems to reset itself every time after I open the world. If you happen to know about MCEdit filters then please help me! Thanks!
I would suggest writing a Java Generator, or, do what I do, and write the main script out in a notepad with the differences you want labelled (like Tag1, Tag2, etc.) so that later you can use Find and Replace to replace Tag1 with whatever you want. It's weird to explain, so look here:
Example:
---
scoreboard players tag @a add Tag1 {SelectedItem:{id:"minecraft:Tag2"}}
execute @a[tag=Tag1] ~ ~ ~ effect @s Tag3 1 1
---
You could then use Find And Replace in Notepad or Google Docs to replace Tag1 with the tag name, Tag2 with the item, and Tag3 with the effect
You only pointed out how to generate these commands, but i still would need to manually input all of them into the command blocks. Which is why I'm looking for a way to automate this process of entering commands (or even generating the blocks altogether). Thanks!
I ended up writing a MCEdit filter that will automatically generate command blocks.
Hi,
I'm wondering if there are tools that can help me generate custom command blocks. I'm working on a project that would require lots of nearly identical chains of command blocks with slight differences in the commands.
I'm looking for a way to kind of code this kind of generation, similar to how you can run python scripts in minecraft pi to generate blocks. I want to be able to code a script to place these command blocks into my world, instead of copying and pasting commands all the time.
I was following this link and I was able to run python scripts on the Java edition of Minecraft which is why I'm asking about command blocks. I'm still posting here because python is mostly used in the Pi Edition. Anyways, is there a way to setblock with nbt tags, in my case setting a command block with a command in it?
you didn't say i have 2 actions and i assumed i could walk as much as i wanted as long as it was walking
Ah, sorry I didn't include that in the post. I missed some details because I had to rewrite everything last time I tried to post since there is no save draft button
that tree could have a trap so i say let's explore to the left
Go to 491, 66
No, there isn't a trap, it is a tree.
Make sure you reply with a valid action because movement wise, the available commands are: walk, jump.
Walk makes you walk one block at a time, since you can have a maximum of 2 actions you walked twice (2 blocks to the left).
Just make sure you use the actions listed in the picture!
In this thread we try to play Minecraft 2D as One Player.
To play, all you have to do is reply to this thread with your post clearly stating your actions and parameters (for more details refer to the picture below). For example:
mine 499 65
walk left
Each post can have a maximum of 2 world and 2 inventory actions.
Since this is my first time doing this, I will allow you to post twice in a row as long as you're not spamming. Also, there are some differences between Minecraft 2D and Minecraft Java Edition. Here is a list:
- Hunger mechanics are amplified, exhaustion increases faster and saturation decreases faster because of limited movement. This won't affect gameplay.
- XP / Enchantment system is not implemented yet
- Way less blocks and items and mobs
- The "Time" displayed is the number of time units that has elapsed, every 10 time units is equal to 1 day
- World size is limited (horizontally)
- No attack cooldown
- Bows always deal full damage
- Projectiles hit their targets instantly
- All fuel that was put into the furnace will be consumed
- Crafting, smelting, attacking, using (eating) are all instantaneous
- Ores spawn more frequently than normal
- Spiders can't climb walls yet
Reminder: All of you guys are playing as one, so be mindful of your actions.
Let's begin!
Right click the image and open the image in new tab to view it in full resolution.
0
How to Play
Simply post commands with the correct information (see image above), for example:
I will then reply with an updated image.
Maximum 3 commands per post, also DO NOT SPAM!
0
Hi,
I've been working on the cake textures for a texture pack and because of how the cake is rendered, it is very hard for me to line up the "creamy" stuff on the side and the inner texture of the cake. I have included screenshots to show what i mean.
Is there a way to maybe even change the inner texture for every stage?
0
Just found a workaround.
I needed two variables: A and B
To check if A != B
Basically I'm trying to find the absolute difference between A and B. If it is negative I make it positive. If the result is not 0 (there is a difference) then A != B.
Mojang please add inverted command blocks.
0
Hi,
How would i test if a fake player (i added a player to a scoreboard with /scoreboard player set command)'s score is not equal to a value? I know that to test for fake players you would use /scoreboard players test
Thanks!
0
Yea, I made a MCEdit filter that actually works right now, the only problem is that the repeating command blocks will not run even when set to always active. I have to manually block update them for them to work, which is tedious.
The thing about functions is that it doesn't take parameters. My command blocks will be running repetitive command but with different values every time.
0
I believe that there are no internal logic for one command generators. All of the command blocks are being run at the same time and all the time which is not I want. I want to generating chains of command blocks where only some commands are executed when certain conditions are met.
Currently I'm writing a MCEdit filter to do this but I have encountered problems with editing the NBT data for the command blocks. The "Command" Tag seems to reset itself every time after I open the world. If you happen to know about MCEdit filters then please help me! Thanks!
0
You only pointed out how to generate these commands, but i still would need to manually input all of them into the command blocks. Which is why I'm looking for a way to automate this process of entering commands (or even generating the blocks altogether). Thanks!
0
UPDATE:
I ended up writing a MCEdit filter that will automatically generate command blocks.
Hi,
I'm wondering if there are tools that can help me generate custom command blocks. I'm working on a project that would require lots of nearly identical chains of command blocks with slight differences in the commands.
I'm looking for a way to kind of code this kind of generation, similar to how you can run python scripts in minecraft pi to generate blocks. I want to be able to code a script to place these command blocks into my world, instead of copying and pasting commands all the time.
Thanks!
0
Hi,
I was following this link and I was able to run python scripts on the Java edition of Minecraft which is why I'm asking about command blocks. I'm still posting here because python is mostly used in the Pi Edition. Anyways, is there a way to setblock with nbt tags, in my case setting a command block with a command in it?
Thanks!
0
yes, this sub forum is unfortunately not as active. Interestingly, this experiment is actually going well on 4chan XD
0
closed
0
0
Ah, sorry I didn't include that in the post. I missed some details because I had to rewrite everything last time I tried to post since there is no save draft button
0
No, there isn't a trap, it is a tree.


Make sure you reply with a valid action because movement wise, the available commands are: walk, jump.
Walk makes you walk one block at a time, since you can have a maximum of 2 actions you walked twice (2 blocks to the left).
Just make sure you use the actions listed in the picture!
0
Hi guys,
In this thread we try to play Minecraft 2D as One Player.
To play, all you have to do is reply to this thread with your post clearly stating your actions and parameters (for more details refer to the picture below). For example:
Each post can have a maximum of 2 world and 2 inventory actions.
Since this is my first time doing this, I will allow you to post twice in a row as long as you're not spamming. Also, there are some differences between Minecraft 2D and Minecraft Java Edition. Here is a list:
- Hunger mechanics are amplified, exhaustion increases faster and saturation decreases faster because of limited movement. This won't affect gameplay.
- XP / Enchantment system is not implemented yet
- Way less blocks and items and mobs
- The "Time" displayed is the number of time units that has elapsed, every 10 time units is equal to 1 day
- World size is limited (horizontally)
- No attack cooldown
- Bows always deal full damage
- Projectiles hit their targets instantly
- All fuel that was put into the furnace will be consumed
- Crafting, smelting, attacking, using (eating) are all instantaneous
- Ores spawn more frequently than normal
- Spiders can't climb walls yet
Reminder: All of you guys are playing as one, so be mindful of your actions.
Let's begin!
Right click the image and open the image in new tab to view it in full resolution.