Comments (12)
I'm okay with that (it's even automatically extractable from the wiki : see drops in the infobox in http://minecraft.gamepedia.com/Stone).
The tool you need to use is an other field (harvestTools : https://github.com/PrismarineJS/minecraft-data/blob/master/enums/blocks.json#L20 : should probably be an array instead of a "id":true object).
Why minAmount and maxAmount though ? Isn't amount enough ?
from minecraft-data.
Glowstone, lapis, etc... both have random amount of drops.
from minecraft-data.
This could also be done for entities.
from minecraft-data.
Oh right, yeah.
from minecraft-data.
Tools drop all drop the same thing (or nothing) for one given block, except for tools with enchantments :
- silk : maybe store what you can harvest with silk in a silk.json
- fortune
Enchantments (http://minecraft.gamepedia.com/Enchant#Enchantments) should probably be handled separately.
from minecraft-data.
There is a lot of minCount: 1, maxCount: 1
- should we allow a simple count: 1
if min == max
?
from minecraft-data.
Yeah I guess.
Oh and I took the "chance" from the wiki when it was available, so minCount can be a number from 0 to 1 (for exemple 0.3333 for 33.33%), I don't know if it that's a good idea.
from minecraft-data.
chance might be useful for servers to implement the dropping behavior ;)
from minecraft-data.
So : there are a lot of minCount: x, maxCount: y with x==y, we can add a count: field. Because often x==y==1, it might also be possible to not put a count at all for these ? (default : count = 1)
from minecraft-data.
Wouldn't it be better to keep data difference to a minimum ? I feel having either min/max OR count would make it harder to use the minecraft-data without really adding value.
from minecraft-data.
Yeah I agree.
What about having the default value for both these fields to 1 so in most cases they just wouln't be there ?
from minecraft-data.
Yeah, default values are perfectly fine.
from minecraft-data.
Related Issues (20)
- Error in education_settings field in bedrock protocol schema
- 1.20 - Block States data is in incorrect order HOT 2
- add back snapshot in protocolVersions.json HOT 1
- 1.12 mapping data is not for 1.12 actually (legacy) HOT 6
- Update to 1.20.30 HOT 7
- Support Minecraft PC 1.20.2 HOT 7
- Does this repository contain any pngs linked of any sort? HOT 1
- Review and fix protocol.json for 1.20.2 HOT 5
- blockMappings.json only available in v1.19.1?
- [1.20.2] Incorrect recipes, and inconsistent shape format HOT 2
- Support Minecraft PC 1.20.3 HOT 2
- Support Minecraft PC 1.20.4 HOT 1
- Several 1.20.2 recipes have invalid shape data (PC) HOT 2
- Create gh action bot to diff protocol files HOT 1
- 1.20.2 and 1.20.3 missing metadataKeys in entities.json. HOT 8
- Add sound id - sound name map for each version HOT 10
- Add blocks & items pc renames data HOT 1
- Add version: HOT 1
- Add version:
- Identifcation of experimental features/items? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraft-data.