Carpet

Carpet

Mod

Take full control over your vanilla game

Server Game MechanicsUtility

1.12M downloads
1,212 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Carpet 1.4.134 for Minecraft 24w09a, 24w10a and 24w11a

Changelog

What's new in Carpet 1.4.134:

  • supports Minecraft 24w09a, 24w10a and 24w11a
  • adjusted stackableShulkerBoxes rule to work with the new item format. It should be now easier to stack them (they should just behave like normal stackable items), but you try to save an overstacked item (with the rule turned off) the chunk will currently crash

scarpet changes:

  • changes to how item arguments are interpreted and returned throught the API.

Significant changes to the format of the items nbt affects how items are handled in scarpet. The format doesn't change, so items are still represented as a triple of [item_id, count, tag], but now the tag does not represent the extra data that the item had associated with it, but the entire tag including the count, id, and all new components. When saving of items (using inventory_set for example), if the tag is provided it will override the provided id, and if the count is provided in the triple, it will override the count in the tag. For example, the following: ['stone', 1, {}] is now ['stone', 1, {id:"minecraft:stone"}] and ['diamond_pickaxe', 1, {Damage:4}] is now ['diamond_pickaxe', 1, {components:{"minecraft:damage":4},id:"minecraft:diamond_pickaxe"}]. It is now not easy to assert if the item has no data by checking if the tag is false. You need to now check if components are missing. If you worked with items before, but didn't use the tag information, your scripts should work just fine. If you used the tags, but only in their unmodified form, for instance to copy item information from one place to another, you should be fine too. If you needed to parse item information, or were creating items with custom nbt on your own, your scripts will break and need to be adjusted.

Files

fabric-carpet-24w09a-1.4.134+v240229.jar(1.48 MiB) Primary Download

Project members

altrisi

Owner

gnembon

Author

Details

Licensed MIT
Published 2 years ago
Updated 15 days ago