-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Item datacomponent api #10845
Item datacomponent api #10845
Conversation
ab97e06
to
08c01fb
Compare
5f8b360
to
55fb24b
Compare
8a23207
to
4414a61
Compare
72b87a5
to
363d994
Compare
4b3318d
to
699e8f5
Compare
f45b2b4
to
1dbf76c
Compare
f3e2ae9
to
cd2af33
Compare
new file mode 100644 | ||
index 0000000000000000000000000000000000000000..54e1a383c4eeb595417ea6e9e4e9527a8ffd9a99 | ||
--- /dev/null | ||
+++ b/src/main/java/io/papermc/paper/util/Filtered.java |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Util doesn't feel like the right package for this. It's not a general utility, it's a Minecraft type
db51a8a
to
3e6d2ad
Compare
…uggestions, fix tests
and fix PotionContents customName
fixes some issues when the current item doesn't have any component on the patch
f0399cc
to
dd9d6ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved under the expectations that more javadocs and toBuilder methods will follow in a upcoming PR.
Just saw this in the latest Paper build, just wanted to say huge thanks for the work here. Was hoping for something exactly like this from upstream but as usual the Paper team/contributors pull through 😎 Kudos |
Tasks
custom_data
max_stack_size
max_damage
damage
unbreakable
custom_name
item_name
item_model
lore
rarity
enchantments
can_place_on
can_break
attribute_modifiers
custom_model_data
hide_additional_tooltip
hide_tooltip
repair_cost
creative_slot_lock
enchantment_glint_override
intangible_projectile
food
consumable
use_remainder
use_cooldown
damage_resistant
tool
enchantable
equippable
repairable
glider
tooltip_style
death_protection
stored_enchantments
dyed_color
map_color
map_id
map_decorations
map_post_processing
bundle_contents
potion_contents
suspicious_stew_effects
writable_book_content
written_book_content
trim
debug_stick_state
entity_data
bucket_entity_data
block_entity_data
instrument
ominous_bottle_amplifier
jukebox_playable
recipes
lodestone_tracker
firework_explosion
fireworks
profile
note_block_sound
banner_patterns
base_color
pot_decorations
container
block_state
bees
lock
container_loot