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
2021-11-16 20:41:20 +01:00
2021-11-16 20:27:38 +01:00
16
2021-11-18 18:47:06 +01:00
2020-06-20 08:44:54 -03:00
2020-03-25 00:32:00 -03:00
2020-04-29 00:48:02 -03:00

Fabric Carpet

Development Builds CurseForge downloads GitHub downloads GitHub contributors Discord

Cause all carpets are made of fabric?
This is the Fabric version of Carpet Mod, for Minecraft 1.14.X, 1.15.X, 1.16.X and above.

Carpet Mod is a mod for vanilla Minecraft that allows you to take full control of what matters from a technical perspective of the game.

Carpet mod ecosystem

For core carpet functionality, this is the right place. Check available downloads on the release page

carpet-extra

Check carpet-extra add-on mod for more whacky and crazy features, including autocrafting, block-placing dispensers, and even chicken-shearing!

auto crafting table

Due to compatibility issues with vanilla and other mods, download auto crafting table by Skyrising as a separate add-on to carpet

scarpet app store

If you want to browse or contribute to the scarpet app store check available apps, go here, its free!

quick-carpet

Have problems with the recent snapshot or someone is slacking with releasing the base carpet mod, but you need some basic carpet functionality, check the minimal build of quick-carpet. It hopefully works just fine. You will not be able to add any extensions or use scarpet apps on this one though.

Other community-based extensions to carpet

Here is a list of other carpet extensions created by the community.

Everybody can create your own carpet features or extend scarpet language with some new API, by creating a carpet extension using this carpet extension mod template.

How? Hwat?

Follow instructions for all other fabric mods in https://fabricmc.net/use/ and dump carpet...jar in mods folder along with other compatible mods.

See the mod showcase on youtube for an explanation of every setting and command, and check the List of all currently available settings on the wiki for an updated list of every setting.

Carpet Mod Settings

See List of all currently available settings on the wiki

For previous Minecraft versions: 1.13 check gnembon/carpetmod and for 1.12 check gnembon/carpetmod112.

S
Description
No description provided
Readme MIT
11 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 96.1%
Python 3.8%