GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.89k stars 271 forks source link

No durability #157

Closed ghost closed 8 years ago

ghost commented 8 years ago

Java version: build 1.8.0_66-b17 OS: Mac OSX El Capitan (10.11) Glowstone ver.: newest (40df0c7)

What I did: I made a shovel in a crafting table then started digging up sand blocks. The durability showed up on the tool but after I picked up the blocks that it dug the durability disappeared on the shovel.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mastercoms commented 8 years ago

Durability isn't implemented at all. The change in durability you're seeing is the client thinking the durability is decreasing, and then the server updates the inventory when the block is picked up, so the client is told that the durability did not decrease in the first place.

ghost commented 8 years ago

Alright, sorry. I was unaware that items don't have a durability yet. Is there a file I can view that has all of the features that are currently implemented and ones that need to be?

twizmwazin commented 8 years ago

There isn't a list of implemented features that I'm aware of. There will probably always be more to implement though, if you are looking for something to implement. If you are looking to use glowstone++ for production, it can handle being a creative server, but survival is not there yet.

mastercoms commented 8 years ago

survival is pretty close, though.

ghost commented 8 years ago

I'm working on making it perfect :)

ghost commented 8 years ago

I can pull request from GlowstoneMC/Glowstone#627 Or you can copy the code.

mastercoms commented 8 years ago

We already have a PR: https://github.com/GlowstonePlusPlus/GlowstonePlusPlus/pull/185

mastercoms commented 8 years ago

And here is an incomplete list of features: https://github.com/GlowstonePlusPlus/GlowstonePlusPlus/wiki/Current-Features

mastercoms commented 8 years ago

Fixed in https://github.com/GlowstoneMC/GlowstonePlusPlus/commit/1c6f71f1cc138ee379302a7d41f4f6b37aa83e7b