Interface Resource<ECS_TYPE>

Type Parameters:
ECS_TYPE - The store type associated with this resource.
All Superinterfaces:
Cloneable
All Known Implementing Classes:
AStarNodePoolProviderSimple, Blackboard, BlockAnimationDirtySections, BlockCounter, BlockMapMarkersResource, BlockModule.BlockStateInfoNeedRebuild, CarriedBlockSystems.QueueResource, ChunkSavingSystems.Data, ChunkSuppressionQueue, ChunkUnloadingSystem.Data, CombatViewSystems.CombatDataPool, ConditionManager, DisabledFluidResource, FloodFillEntryPoolProviderSimple, IndexedStorageChunkStorageProvider.IndexedStorageCache, InstanceDataResource, KillTrackerResource, LocalSpawnState, MarkerReplicationSystems.QueueResource, NetworkTickResource, NewSpawnStartTickingSystem.QueueResource, PlayerSavingSystems.SaveDataResource, PointManager, PortalWorld, PrefabEditSession, RandomTick, RecurringWorldEventTracker, ReputationDataResource, RoleChangeSystem.RoleChangeQueue, SectionUnloadingSystem.Data, SnapshotSystems.SnapshotWorldInfo, SortBufferProviderResource, SpatialResource, SpawnNPCInteractionFailureTracker, SpawnPositionSearchWorkspace, SpawnSuppressionController, SprintStaminaRegenDelay, TickSuppressionRegistry, TimeResource, TriggerVolumeManager, VoidEventResource, VoidInvasionPortalsSpawnSystem.VoidInvasionData, WeatherResource, WildernessTracker, WildernessVisitor, WildernessVisitor.ChunkVisitor, WildernessVisitor.EntityVisitor, WorldEventManager, WorldEventStorage, WorldMarkersResource, WorldPathData, WorldSomnolence, WorldSpawnData, WorldTimeResource

public interface Resource<ECS_TYPE> extends Cloneable
A resource is a piece of shared data.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Resource[]
    An empty resource array to reduce allocation.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Field Details

    • EMPTY_ARRAY

      static final Resource[] EMPTY_ARRAY
      An empty resource array to reduce allocation.
  • Method Details

    • clone

      @Nullable Resource<ECS_TYPE> clone()
      Returns:
      a clone instance of the original resource instance.