Creo API

Creo API

Mod

A multi-purpose api for Minecraft mod and datapack development.

Client and server Game MechanicsLibraryUtilityWorld Generation

7,054 downloads
9 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
Filter channels...

Events

  • Fix eaten food not being eaten

General

  • Register client mixins correctly
  • Refactor some client code

General

  • Refactor some packet code

Block API

  • Fix LookAtBlock packet only registered client-side

Port to 1.20.1

Fix clients unable to connect to servers with Creo API

Fix server load crashes due to Block API.

Fix error when Potatoptimize is installed

Entity Attributes

  • Fix a bug where generic attributes were only added to players

General

  • Fix untouched packages requiring Minecraft 1.20.4

General

  • Updated to 1.20.6
  • Update API Documentation Link in README
  • Major changes across the API as a result of large technical changes in recent minor vanilla updates
    • Various removals and API-breaking changes

Content Modification API

  • Removed Item & Enchantment modification methods
    • These are replaced by the new data-driven components/enchantment system and should be modifiable with Fabric's Component Modification API
  • Renamed some methods to better match some vanilla renames

Convention Tags

  • Renamed MILK_DOES_NOT_CURE to UNAFFECTED_BY_MILK Status Effect Tag
  • Removed repairs/ Item Tags
    • Backend changes broke implementation; will hopefully return in the future

Entity Attributes

  • Removed jump strength, block break speed, and gravity attributes in favor of new vanilla ones

Food Component API

  • Removed Durability Foods; may or may not return in the future
  • Merged into the Item API

Item API

  • Add CreoDataComponentTypes.FOOD as a re-implementation of the Food Component API

Mod Compatibility API

  • Removed as it had limited functionality; may or may not return in the future

Shader Interaction API

  • Add removed shaders from vanilla so they can still be used

Item API

  • Add ATTACK_THROUGH_BLOCK event
  • Call CreoItem methods on both Client & Server

Item API

  • Fix a Crash when Attacking Item Entities

General

  • Add @since annotations for documentation

Block API

  • Add getOverlayState() to CreoBlock

Item API

  • Add onAttack() to CreoItem
  • Add rotationModifier field to CreoItemSettings
  • Fix some issues with CreoItemSettings

Item API

  • Hotfix for a crash related to attackThroughBlock()

Item API

  • Rework to attackThroughBlock to improve performance & to work in server environments

Block API

  • Add onAdjacentEntityCollision() canEntityCollideAdjacent() to detect collisions when next to a block, but not actually colliding with it

Convention Tags

  • Add blocks_enderman_stare item tag for items that, when worn, do not anger Endermen (e.g. Carved Pumpkins)

Events

  • Add Item PICK_UP event

Food Component API

  • Add field 'healsHealth' to heal health instead of hunger when eaten

Item API

  • Add CreoItem interface which provides extensions to items
  • Add onAttackThroughBlock() and canAttackThroughBlock() for items to ignore blocks when attacking entities

General

  • Fixed maxShiftBy errors from Mixin

Content Modification

  • Add setDynamicBounds() method for BlockModification

Worldgen

  • Add redundancy warning messages for certain Placement Modifiers

Convention Tags

  • Fix Cacti generating in the air

Events

  • Rename TRANSLATION_LOAD to LOAD_TRANSLATION
  • Add 'langCode' as a parameter to LOAD_TRANSLATION event
  • Add LOAD_RECIPE event
  • Remove Entity DATA_TRACK & WRITE_NBT events

Project members

Great Big World

Organization

Details

Licensed ARR
Published 2 years ago
Updated 2 months ago