Files
fabric-carpet/docs/scarpet/resources/editors/idea/2.txt
T
replaceitemandreplaceitem 3f6ddc43e5 Added screen handler system (#888)
* Added screen handler value

* Added screen handler constructor and function to show to player

* Made inventory_* functions work with screen handlers

* Event callbacks and some refactoring

* Exception if screen has no inventory

* Fixed NPE

* Close screen when null

* Added screen_property

* UNKNOWN_SCREEN throwable

* Fix error when not specifying click callback

* Access to non-container screen handler slots via the inventory_* functions

* Change lectern page

* Added button event

* Added 'close' event and refactoring callback

* Beacon and Brewing screens

* Cartography table screen

* Crafting screen

* Enchantment screen

* Grindstone

* Loom

* Merchant

* Shulkerbox

* Smithing table

* Stonecutter

* Use strings as screen type instead of ScreenHandlerType

* Remove support for multiple players

* Combining create_screen and open_screen and refactoring

* Allow modifying cursor stack

* Cleanup

* Docs

* Added multiple screen examples

* Rename to screen

* Added smoker and blast furnace

* Serialize screen content

* Store host name instead of context

* Add button value special cases to docs

* Spelling and grammar fixes by @James103

* Optimize screen inventory access

* Use -1 for slot click outside the screen

* As boolean, ScreenValue equals isOpen

* Revert "Use -1 for slot click outside the screen"

This reverts commit 68c113e71bb653191cedf4cc356ab7705838dc25.

* Rework of callback function

* Improve screen functionality with drop_item

* Editor keywords

* Only check syncId

* slot_update event callback

* Screem typo

* Mistake

* toTag returns "null" NBT for  closed screen

* Use null for slot index of -999

Co-authored-by: replaceitem <replaceitem.mc@gmail.com>
2022-01-12 22:52:38 +01:00

143 lines
1.6 KiB
Plaintext

air
add_chunk_ticket
biome
blast_resistance
block
block_data
block_light
block_list
block_sound
block_state
block_tick
block_tags
blocks_daylight
blocks_movement
bossbar
brightness
chunk_tickets
close_screen
convert_date
crafting_remaining_item
create_datapack
create_explosion
create_marker
create_screen
current_dimension
day_time
delete_file
destroy
diamond
display_title
draw_shape
drop_item
emitted_light
enable_hidden_dimensions
encode_nbt
entity_area
entity_event
entity_id
entity_list
entity_load_handler
entity_selector
entity_types
escape_nbt
flammable
format
game_tick
generation_status
handle_event
hardness
harvest
in_dimension
in_slime_chunk
inhabited_time
inventory_find
inventory_get
inventory_remove
inventory_set
inventory_size
item_category
item_list
item_tags
last_tick_times
light
liquid
list_files
load_app_data
loaded
loaded_status
logger
map_colour
material
modify
nbt
nbt_storage
neighbours
opacity
parse_nbt
particle
particle_line
particle_rect
place_item
player
plop
poi
pos
pos_offset
power
query
random_tick
recipe_data
rect
reload_chunk
remove_all_markers
reset_chunk
run
sample_noise
save
scan
schedule
scoreboard
scoreboard_add
scoreboard_remove
scoreboard_display
scoreboard_property
screen_property
tag_matches
team_add
team_leave
team_list
team_property
team_remove
read_file
see_sky
set
set_biome
set_poi
set_structure
signal_event
sky_light
solid
sound
spawn
spawn_potential
stack_limit
statistic
store_app_data
structures
structure_eligibility
structure_references
suffocates
system_info
tick_time
ticks_randomly
top
transparent
update
unix_time
view_distance
volume
without_updates
world_time
write_file