Class LecternBlockEntityMixin

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
dev.upcraft.sparkweave.mixin.LecternBlockEntityMixin
All Implemented Interfaces:
net.fabricmc.fabric.api.attachment.v1.AttachmentTarget, net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity, net.fabricmc.fabric.api.screenhandler.v1.FabricScreenHandlerFactory, net.minecraft.world.Clearable, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider

public abstract class LecternBlockEntityMixin extends net.minecraft.world.level.block.entity.BlockEntity implements net.minecraft.world.Clearable, net.minecraft.world.MenuProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity

    net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput
  • Field Summary

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition

    Fields inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    NBT_ATTACHMENT_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    LecternBlockEntityMixin(net.minecraft.world.level.block.entity.BlockEntityType<?> $$0, net.minecraft.core.BlockPos $$1, net.minecraft.world.level.block.state.BlockState $$2)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract net.minecraft.world.item.ItemStack
     

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

    addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadAdditional, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveAdditional, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    getAttached, getAttachedOrCreate, getAttachedOrCreate, getAttachedOrElse, getAttachedOrGet, getAttachedOrSet, getAttachedOrThrow, hasAttached, modifyAttached, removeAttached, setAttached

    Methods inherited from interface net.minecraft.world.Clearable

    clearContent

    Methods inherited from interface net.fabricmc.fabric.api.screenhandler.v1.FabricScreenHandlerFactory

    shouldCloseCurrentScreen

    Methods inherited from interface net.minecraft.world.inventory.MenuConstructor

    createMenu

    Methods inherited from interface net.minecraft.world.MenuProvider

    getDisplayName

    Methods inherited from interface net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity

    getRenderData
  • Constructor Details

    • LecternBlockEntityMixin

      public LecternBlockEntityMixin(net.minecraft.world.level.block.entity.BlockEntityType<?> $$0, net.minecraft.core.BlockPos $$1, net.minecraft.world.level.block.state.BlockState $$2)
  • Method Details

    • getBook

      public abstract net.minecraft.world.item.ItemStack getBook()