Class BlockEntityMixin
java.lang.Object
net.ixdarklord.coolcatcore.internal.mixin.BlockEntityMixin
- All Implemented Interfaces:
AttachmentStoreAccess
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable net.minecraft.world.level.Levelprotected net.minecraft.core.BlockPos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidapplyImplicitComponents(net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput components) protected abstract voidcollectImplicitComponents(net.minecraft.core.component.DataComponentMap.Builder components) @Nullable AttachmentStore
-
Field Details
-
level
@Nullable protected @Nullable net.minecraft.world.level.Level level -
worldPosition
protected net.minecraft.core.BlockPos worldPosition
-
-
Constructor Details
-
BlockEntityMixin
public BlockEntityMixin()
-
-
Method Details
-
collectImplicitComponents
protected abstract void collectImplicitComponents(net.minecraft.core.component.DataComponentMap.Builder components) -
applyImplicitComponents
protected abstract void applyImplicitComponents(net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput components) -
coolcatlib$getAttachments
- Specified by:
coolcatlib$getAttachmentsin interfaceAttachmentStoreAccess
-
coolcatlib$getOrCreateAttachments
- Specified by:
coolcatlib$getOrCreateAttachmentsin interfaceAttachmentStoreAccess
-