Cardinal-Components-API icon indicating copy to clipboard operation
Cardinal-Components-API copied to clipboard

Component API to add external data to objects.

Results 31 Cardinal-Components-API issues
Sort by recently updated
recently updated
newest added

I'm currently talking with someone who's making a client-side mod for defining areas of the world, and I thought "cardinal components would be perfect for this"... but I can't find...

enhancement
help wanted

I made a component for players. This is how I registered it: ```java @Override public void registerEntityComponentFactories(EntityComponentFactoryRegistry registry) { registry.registerForPlayers(CONTESTANT, ContestantComponent::new, RespawnCopyStrategy.ALWAYS_COPY); } ``` But when I connect I get...

I would suggest deprecating for removal in 1.18 the itemstack module. Item stack components work with direct modifications of the stack, whereas I think the preferred paradigm should be to...

components-item
talk

Is it possible to execute some action when the component is being removed / unregistered?

question

[crash-2021-05-26_22.51.54-client.txt](https://github.com/OnyxStudios/Cardinal-Components-API/files/6550778/crash-2021-05-26_22.51.54-client.txt) (Source code is in kotlin, shouldn't cause any issues though) registration: ``` val MOUNT_ITEM = MountItem(false, FabricItemSettings() .maxCount(1) .rarity(Rarity.RARE)) val CONTAINER: ComponentKey = ComponentRegistry.getOrCreate( Identifier("mole_hill", "container"), MountItemComponent::class.java ) //...

bug
components-item
components-base

In the development environment and maybe other places, in some contexts Cardinal Components fails when loading the world because the `Identifier` class is being loaded from different classloaders. It happens...

bug
help wanted
components-base

This happens on both Dynocaps and XP storage. I assume it happens with all ItemStack Components https://gitlab.com/biom4st3r/dynocaps https://github.com/sf-inc/xp_storage https://user-images.githubusercontent.com/37042156/108777471-73181880-7529-11eb-8334-ce1f22c4e9a6.mp4 Initially you'll see that there are just normal Empty itemstacks in...

bug
components-item

I only wish to add a component to a chunk if it is a WorldChunk, however the register method requires me to always return a component to be attached, even...

enhancement
components-chunk

Currently I am looking at V3 API and it seems to be much more harder to learn than the V2 API. I am not degrading your effort, I am just...

talk

Currently CCA uses the block entity class to identify a block entity for registering components. However this has some issues due to limiting the types of supported block entities. In...

enhancement
components-block