Interesting idea, but I personally don't see enough benefit from it to make it worth coding. If it was easy to implement then sure, I'm all for it.
It seems like a very niche thing though, I feel like it's not something they would even give the time of day to work with.
Yeah I thought that too. Only if we could make it more usefull than it is. Well it still is a good idea, and if Mojang ever runs out of ideas, or have more time they might think of it. We never know
The Meaning of Life, the Universe, and Everything.
Join Date:
8/19/2012
Posts:
271
Minecraft:
slyther_claw
Member Details
You have my unmitigated support. In fact, if parsed as -1 = infinity, then you'd have even more support because that would lend itself to indefinite weather sustaining for adventure maps. I long for the day that I can type /weather rain -1, and have it rain forever in my world.
You have my unmitigated support. In fact, if parsed as -1 = infinity, then you'd have even more support because that would lend itself to indefinite weather sustaining for adventure maps. I long for the day that I can type /weather rain -1, and have it rain forever in my world.
No the only way to obtain a stack of zero would be with mods. After seeing what you put, I attempted to give myself zero wooden planks. It didn't work. I then tried with the command block, and it still didn't work.
Really? An MCEdit schematic I used earlier this year placed a chest with a stack of zero of some blocks. When I went into survival to see if it would work, it worked like an infinite stack.
Maybe Jeb or Dinnerbone can make it so giving a stack of zero like that is possible without third party tools. I can't see it being too difficult.
Rollback Post to RevisionRollBack
This is a signature. There should be something here....
Oh wait! There is!
FINALLY MY REPEATING DISPENCER CANNONS WILL NOT RUN OUT! FIIIINALLLLLYYY!!!
Support.
Diamond!
Rollback Post to RevisionRollBack
I hate people who complain. I hate spiders. I hate people who own an Xbox One. I hate people who like sandbox games. I hate people who like first person shooters. I hate people who like explosions. I hate people who like video games. I hate people who are hateful. I hate people that don't like spam. I hate people who like cake. I hate people who type in proper grammar and spell words properly on the internet. I hate hypocrites.
Interesting idea, but I personally don't see enough benefit from it to make it worth coding. If it was easy to implement then sure, I'm all for it.
It seems like a very niche thing though, I feel like it's not something they would even give the time of day to work with.
Perhaps I phrased myself badly when I said it would be difficult to code. When I said tricky, I meant that in a way that it would take a restructure of the input for the number of blocks. He would have to change the way the number is inputted, in a way that I can't really explain without a very drawn-out explanation for someone who doesn't program. Difficult for someone like me, yes. For someone like Jeb, I would say it would take him about five minutes to restructure the input, then I really don't know how hard it would be to implement infinite stacks, but I can't imagine it being too hard.
Here - I'll put the change I think would be needed in pseudocode, based on my crappy knowledge of Java:
Old code:
int NumBlocks = keyboard.nextInt();
Whatever the coding for giving the blocks to the player is...
New Code:
string NumBlocks = keyboard.nextString();
If (NumBlocks == '00')
{Whatever code is behind infinite stacks}
else
{
toInt(NumBlocks) == int NumBlocks;
}
Whatever coding for giving the blocks to the player is, plus the code for dealing with the new stack type...
So a bit more complicated, but not really for someone like Jeb. It will be a bit more complex than this because of the type of input, but I just used a basic Java input, and the concept behind it is the same. Remember, this is pseudocode, not real code, so plugging this into a compiler will just give you an error.
I'm aware the coding for an input of -1 would be a lot easier. However, I like the idea of 00 a lot more, just because it seems like a more intuitive solution for the player, if not for the coder. It is just as possible to code for an input of 00, it just takes a bit of restructuring and a bit more work.
I'm pretty sure the reason tool durability can be infinite is the same reason that bedrock cannot be mined - it exploits an intentional semi-glitch in dealing with negative numbers, in that the game can decrease them all it wants and they will never equal zero, because -1 - whatever is never going to be 0. That is all good and fine inside coding, but for player input 00 makes more sense to the player, if not the code. After all player > coding difficulty.
Really? An MCEdit schematic I used earlier this year placed a chest with a stack of zero of some blocks. When I went into survival to see if it would work, it worked like an infinite stack.
Maybe Jeb or Dinnerbone can make it so giving a stack of zero like that is possible without third party tools. I can't see it being too difficult.
Mcedit is modifying the game. It isn't a mod itself, but you can't obtain a stack of zero only using the minecraft itself and no mods or modifications to it at all.
Since 0 does work as an infinite stack then it wouldn't be hard to just be able to type in /give :Username: <data Value> <0>
I'm aware the coding for an input of -1 would be a lot easier. However, I like the idea of 00 a lot more, just because it seems like a more intuitive solution for the player, if not for the coder. It is just as possible to code for an input of 00, it just takes a bit of restructuring and a bit more work.
But it's not intuitive. You're expecting to enter a number for durability, and everyone knows that 0 = 00 = 000. Who's going to think to enter "00" for infinity? They're going to have to look that up anyways. You might as well make the player enter "infinite" if you're using strings.
Using just 0 could work. I just assumed 0 would give you something that would instantly disappear upon obtaining. 0 is usually reserved for "empty" in games so they use negatives instead.
But it's not intuitive. You're expecting to enter a number for durability, and everyone knows that 0 = 00 = 000. Who's going to think to enter "00" for infinity? They're going to have to look that up anyways. You might as well make the player enter "infinite" if you're using strings.
Using just 0 could work. I just assumed 0 would give you something that would instantly disappear upon obtaining. 0 is usually reserved for "empty" in games so they use negatives instead.
I do sort of see your point... I don't really like any numerical input, they all seem non-intuitive. 00 was just the best of a bad bunch. If there was an infinity key this would be so much simpler...
Rollback Post to RevisionRollBack
If you want to see a great idea for Minecraft, click the banner! Over 400 supporters and counting!
I do sort of see your point... I don't really like any numerical input, they all seem non-intuitive. 00 was just the best of a bad bunch. If there was an infinity key this would be so much simpler...
I support it, mostly the fact that dispensers will never run out and as you said the donor perks; intresting how mods are slowly making server admins nearly obselete.
I support it, mostly the fact that dispensers will never run out and as you said the donor perks; intresting how mods are slowly making server admins nearly obselete.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIt seems like a very niche thing though, I feel like it's not something they would even give the time of day to work with.
Yeah I thought that too. Only if we could make it more usefull than it is. Well it still is a good idea, and if Mojang ever runs out of ideas, or have more time they might think of it. We never know
xD
Really? An MCEdit schematic I used earlier this year placed a chest with a stack of zero of some blocks. When I went into survival to see if it would work, it worked like an infinite stack.
Maybe Jeb or Dinnerbone can make it so giving a stack of zero like that is possible without third party tools. I can't see it being too difficult.
Oh wait! There is!
For instance, to create a tool with infinite durability, you set the durability value to -1.
Click the picture!
-Derek Shunia
Support.
Diamond!
Perhaps I phrased myself badly when I said it would be difficult to code. When I said tricky, I meant that in a way that it would take a restructure of the input for the number of blocks. He would have to change the way the number is inputted, in a way that I can't really explain without a very drawn-out explanation for someone who doesn't program. Difficult for someone like me, yes. For someone like Jeb, I would say it would take him about five minutes to restructure the input, then I really don't know how hard it would be to implement infinite stacks, but I can't imagine it being too hard.
Here - I'll put the change I think would be needed in pseudocode, based on my crappy knowledge of Java:
Old code:
New Code:
string NumBlocks = keyboard.nextString(); If (NumBlocks == '00') {Whatever code is behind infinite stacks} else { toInt(NumBlocks) == int NumBlocks; } Whatever coding for giving the blocks to the player is, plus the code for dealing with the new stack type...So a bit more complicated, but not really for someone like Jeb. It will be a bit more complex than this because of the type of input, but I just used a basic Java input, and the concept behind it is the same. Remember, this is pseudocode, not real code, so plugging this into a compiler will just give you an error.
If you want to see a great idea for Minecraft, click the banner! Over 400 supporters and counting!
stackSize = scanner.nextInt(); if(stackSize == -1) { this.itemStack.setInfinity(); }Click the picture!
-Derek Shunia
I'm aware the coding for an input of -1 would be a lot easier. However, I like the idea of 00 a lot more, just because it seems like a more intuitive solution for the player, if not for the coder. It is just as possible to code for an input of 00, it just takes a bit of restructuring and a bit more work.
I'm pretty sure the reason tool durability can be infinite is the same reason that bedrock cannot be mined - it exploits an intentional semi-glitch in dealing with negative numbers, in that the game can decrease them all it wants and they will never equal zero, because -1 - whatever is never going to be 0. That is all good and fine inside coding, but for player input 00 makes more sense to the player, if not the code. After all player > coding difficulty.
If you want to see a great idea for Minecraft, click the banner! Over 400 supporters and counting!
Mcedit is modifying the game. It isn't a mod itself, but you can't obtain a stack of zero only using the minecraft itself and no mods or modifications to it at all.
Since 0 does work as an infinite stack then it wouldn't be hard to just be able to type in /give :Username: <data Value> <0>
Thank you for the support.
Using just 0 could work. I just assumed 0 would give you something that would instantly disappear upon obtaining. 0 is usually reserved for "empty" in games so they use negatives instead.
Mostly moved on. May check back a few times a year.
I do sort of see your point... I don't really like any numerical input, they all seem non-intuitive. 00 was just the best of a bad bunch. If there was an infinity key this would be so much simpler...
If you want to see a great idea for Minecraft, click the banner! Over 400 supporters and counting!
Yeah haha.
Yeah it does help.