Class BlockEntityMixin

java.lang.Object
net.ixdarklord.coolcatcore.internal.mixin.BlockEntityMixin
All Implemented Interfaces:
AttachmentStoreAccess

public abstract class BlockEntityMixin extends Object implements AttachmentStoreAccess
  • 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

      @Nullable public @Nullable AttachmentStore coolcatlib$getAttachments()
      Specified by:
      coolcatlib$getAttachments in interface AttachmentStoreAccess
    • coolcatlib$getOrCreateAttachments

      public AttachmentStore coolcatlib$getOrCreateAttachments()
      Specified by:
      coolcatlib$getOrCreateAttachments in interface AttachmentStoreAccess