Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Wrench #5

Open
AceDexter opened this issue Jun 16, 2015 · 11 comments
Open

Data Wrench #5

AceDexter opened this issue Jun 16, 2015 · 11 comments

Comments

@AceDexter
Copy link
Contributor

Summary:

Primary Function: The Player can use the Data Wrench to rotate a single block forward with a [left-click] through its similar texture family (i.e. sand, sandstone, sandstone-pillar, sandstone-corner, etc).

Secondary Function: The player can use the Data Wrench to rotate a single block backward with a [right-click] through its similar texture family (i.e sand, sandstone, sandstone-pillar, sandstone-corner, etc).

Usefulness: This tool allows Players to quickly rotate through a block's related textures without accessing items from the inventory or breaking and replacing blocks.

Note: Should be not affect blocks around it (no physics)

@Zeboot
Copy link
Contributor

Zeboot commented Jun 16, 2015

keep in mind the main use of data wrench isn't to move through associated textures, but rather to change the "data value" of the current block. Associated textures are too resourcepack specific, if we want those we'd need a seperate tool and then have a properties file in which all the "texture families" can be defined

@AceDexter
Copy link
Contributor Author

@ShiniOfTheGami

I noticed the way the Data Wrench works now is that it changes the data value but eventually changes back to the originally placed block. How come the Data Wrench doesn't cycle through all the materials in minecraft then?

@Zeboot
Copy link
Contributor

Zeboot commented Jun 16, 2015

wat? Why the hell would it cycle through all materials? The main use for the data wrench was to be able to cycle to alternate textures on a block, so what data values used to be (think coloured glowstone)

@AceDexter
Copy link
Contributor Author

I'm not saying that's what I'd like to see it do, I'm just stating what it does and that I don't understand how it does it...

The data value changes, yes? So how does it change then? By incrementing the value? Or does it work with a list [if glowstone is selected then cycle only alternate glowstone data values]. Is that how it works?

@DukeVindzor
Copy link
Contributor

The way Minecraft works now is that it replaced datavalues with labels. The blocks that used to be linked together by datavalues are still linked together, but by labels and not datavalues :)
Data wrench would always cycle back to the beginning, but in the past every block had 16 datavalues and many of them were not used by Minecraft. When they switched to labels they removed the unused datavalues.

@AceDexter
Copy link
Contributor Author

@DukeVindzor

That makes it much easier to understand! So if Minecraft uses labels now, do we need to move forward in that direction or do we need to continue using datavalues?

@AceDexter
Copy link
Contributor Author

Also, @ShiniOfTheGami mentioned that Minecraft may be going in the direction of being able to include custom blocks rather than manipulating the current blocks available. With that in mind and on the horizon, do we need to focus our development in that direction?

@Zeboot
Copy link
Contributor

Zeboot commented Jun 16, 2015

what we need to focus on is what's in the game currently. Any future changes to minecraft will be the content of updates to this plugin, not the base code

@AceDexter
Copy link
Contributor Author

@ShiniOfTheGami I thought you'd might say that, and that's fair enough. I don't think I would want to have it any other way.

@DukeVindzor
Copy link
Contributor

On the question of how blocks are changed, it is probably easiest to check some of the bukkit documentation, like http://wiki.bukkit.org/Plugin_Tutorial#Block_Manipulation :)

@AceDexter
Copy link
Contributor Author

^Bookmarked!

@DukeVindzor The bukkit.org plugin tutorial WIKI page alone will be extremely helpful! =D

@DukeVindzor DukeVindzor changed the title Tool: Data Wrench Data Wrench Jun 16, 2015
@DukeVindzor DukeVindzor self-assigned this Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants