Class HTExtendedBlockEntity

  • All Implemented Interfaces:
    hiiragi283.lib.block.entity.HTAbstractBlockEntity , net.minecraft.core.TypedInstance , net.minecraft.util.debug.DebugValueSource , net.neoforged.neoforge.attachment.IAttachmentHolder , net.neoforged.neoforge.common.extensions.IBlockEntityExtension , net.neoforged.neoforge.common.extensions.TypedInstanceExtension , net.neoforged.neoforge.registries.datamaps.IWithData

    
    public abstract class HTExtendedBlockEntity
    extends BlockEntity implements HTAbstractBlockEntity
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HTExtendedBlockEntity(BlockEntityType<?> type, BlockPos worldPosition, BlockState blockState)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ProblemReporter createReporter()
      final CompoundTag createReducedUpdateTag(HolderLookup.Provider registries)
      Unit writeReducedUpdateTag(ValueOutput output)
      Unit readUpdateTag(ValueInput input)
      final Unit sendUpdatePacket(ServerLevel level)
      Unit setChanged()
      Integer getComparatorOutput(BlockState state, Level level, BlockPos pos) ブロックのコンパレータ出力を返します。
      Unit neighborChanged(BlockState state, Level level, BlockPos pos, Block block, Orientation orientation, Boolean movedByPiston) 隣接ブロックが更新された時に呼び出されます。
      final ClientboundBlockEntityDataPacket getUpdatePacket()
      final CompoundTag getUpdateTag(HolderLookup.Provider registries)
      final Unit handleUpdateTag(ValueInput input)
      Unit onDataPacket(Connection net, ValueInput valueInput)
      • Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

        applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getAndClearAttachmentTypesToSync, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadWithComponents, preRemoveSideEffects, problemPath, removeComponentsFromTag, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setComponents, setLevel, setRemoved, triggerEvent
      • Methods inherited from class hiiragi283.lib.block.entity.HTExtendedBlockEntity

        getBlockPos, getLevel, getUpdatePacket
      • Methods inherited from class net.neoforged.neoforge.common.extensions.IBlockEntityExtension

        applyStructureRotation, getModelData, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onLoad, requestModelDataUpdate
      • Methods inherited from class net.neoforged.neoforge.attachment.IAttachmentHolder

        getData, getData, getExistingData, getExistingData, getExistingDataOrNull, getExistingDataOrNull, hasAttachments, hasData, hasData, removeData, removeData, setData, setData, syncData, syncData
      • Methods inherited from class net.minecraft.core.TypedInstance

        is, is, is, is, is, tags, typeHolder
      • Methods inherited from class net.minecraft.util.debug.DebugValueSource

        registerDebugValues
      • Methods inherited from class net.neoforged.neoforge.registries.datamaps.IWithData

        getData
      • Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

        serializeAttachments
      • Methods inherited from class hiiragi283.lib.block.entity.HTAbstractBlockEntity

        getRegistryAccess, getServerLevel
      • Methods inherited from class java.lang.Object

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