highlevel-netcode-gen/src/main/resources/server/ApplyStateCollection.java
austin 6b217b7580
All checks were successful
studiorailgun/highlevel-netcode-gen/pipeline/head This commit looks good
state collection work
2024-08-11 12:21:24 -04:00

15 lines
414 B
Java

/**
* <p> Automatically generated </p>
* <p>
* Applies the state collection to the given entity
* </p>
* @param entity The entity
* @param collection The state collection
*/
public static void applyStateCollection(Entity entity, StateCollection collection){
for(SynchronizedFieldValue syncedValue : collection.getValues()){
switch(syncedValue.getBehaviorTreeId()){
REPLACE_0_ME
}
}
}