Contents
- Description
- Method Summary
- Method Details
- getVersion()
- getRegistry()
- getComponentType(String)
- getComponentSize()
- getComponentId(ComponentType)
- getComponentCodec(ComponentType)
- createComponent(ComponentType)
- getResourceType(int)
- getResourceType(String)
- getResourceSize()
- getResourceId(ResourceType)
- getResourceCodec(ResourceType)
- createResource(ResourceType)
- getSystemTypeSize()
- getSystemType(Class)
- getSystemType(int)
- getSystemIndexesForType(SystemType)
- getSystemSize()
- getSystem(int)
- getSystem(int, SystemType)
- indexOf(ISystem)
- getEntityCodec()
- getDataChangeCount()
- getDataChange(int)
- equals(Object)
- hashCode()
- toString()
- appendDump(String, StringBuilder)
Class ComponentRegistry.Data<ECS_TYPE>
java.lang.Object
com.hypixel.hytale.component.ComponentRegistry.Data<ECS_TYPE>
- Type Parameters:
ECS_TYPE-
- Enclosing class:
ComponentRegistry<ECS_TYPE>
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendDump(String prefix, StringBuilder sb) createComponent(ComponentType<ECS_TYPE, T> componentType) createResource(ResourceType<ECS_TYPE, T> resourceType) booleangetComponentCodec(ComponentType<ECS_TYPE, T> componentType) getComponentId(ComponentType<ECS_TYPE, ?> componentType) intgetDataChange(int index) int<T extends Resource<ECS_TYPE>>
BuilderCodec<T> getResourceCodec(ResourceType<ECS_TYPE, T> resourceType) getResourceId(ResourceType<ECS_TYPE, ?> resourceType) intgetResourceType(int index) getSystem(int systemIndex) getSystem(int systemIndex, SystemType<ECS_TYPE, T> systemType) getSystemIndexesForType(SystemType<ECS_TYPE, T> systemType) intSystemType<ECS_TYPE, ? extends ISystem<ECS_TYPE>> getSystemType(int systemTypeIndex) <T extends ISystem<ECS_TYPE>>
SystemType<ECS_TYPE, T> getSystemType(Class<? super T> systemTypeClass) intintinthashCode()inttoString()
-
Method Details
-
getVersion
public int getVersion() -
getRegistry
-
getComponentType
-
getComponentSize
public int getComponentSize() -
getComponentId
-
getComponentCodec
@Nullable public <T extends Component<ECS_TYPE>> Codec<T> getComponentCodec(@Nonnull ComponentType<ECS_TYPE, T> componentType) -
createComponent
public <T extends Component<ECS_TYPE>> T createComponent(@Nonnull ComponentType<ECS_TYPE, T> componentType) -
getResourceType
-
getResourceType
-
getResourceSize
public int getResourceSize() -
getResourceId
-
getResourceCodec
@Nullable public <T extends Resource<ECS_TYPE>> BuilderCodec<T> getResourceCodec(@Nonnull ResourceType<ECS_TYPE, T> resourceType) -
createResource
public <T extends Resource<ECS_TYPE>> T createResource(@Nonnull ResourceType<ECS_TYPE, T> resourceType) -
getSystemTypeSize
public int getSystemTypeSize() -
getSystemType
@Nullable public <T extends ISystem<ECS_TYPE>> SystemType<ECS_TYPE,T> getSystemType(Class<? super T> systemTypeClass) -
getSystemType
-
getSystemIndexesForType
public <T extends ISystem<ECS_TYPE>> BitSet getSystemIndexesForType(@Nonnull SystemType<ECS_TYPE, T> systemType) -
getSystemSize
public int getSystemSize() -
getSystem
-
getSystem
public <T extends ISystem<ECS_TYPE>> T getSystem(int systemIndex, SystemType<ECS_TYPE, T> systemType) -
indexOf
-
getEntityCodec
-
getDataChangeCount
public int getDataChangeCount() -
getDataChange
-
equals
-
hashCode
-
toString
-
appendDump
-