InvulnerableSystems class

Пакет: com.hypixel.hytale.server.core.modules.entity.system

Файл: com/hypixel/hytale/server/core/modules/entity/system/InvulnerableSystems.java

Методы (2)

МодификаторыВозвратСигнатура
public EntityTrackerAddAndRemovepublic EntityTrackerAddAndRemove(ComponentType<EntityStore, EntityTrackerSystems.Visible> var1)
public EntityTrackerUpdatepublic EntityTrackerUpdate(ComponentType<EntityStore, EntityTrackerSystems.Visible> var1)

Исходный код

Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.modules.entity.system;

class="kw">import com.hypixel.hytale.component.ComponentType;
class="kw">import com.hypixel.hytale.protocol.ComponentUpdateType;
class="kw">import com.hypixel.hytale.protocol.InvulnerableUpdate;
class="kw">import com.hypixel.hytale.server.core.modules.entity.component.Invulnerable;
class="kw">import com.hypixel.hytale.server.core.modules.entity.tracker.EntityTrackerSystems;
class="kw">import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;

class="kw">public class InvulnerableSystems {
   class="kw">public InvulnerableSystems() {
   }

   class="kw">public class="kw">static class EntityTrackerAddAndRemove class="kw">extends MarkerReplicationSystems.EntityTrackerAddAndRemove<Invulnerable> {
      class="kw">public EntityTrackerAddAndRemove(ComponentType<EntityStore, EntityTrackerSystems.Visible> var1) {
         super(var1, Invulnerable.getComponentType(), ComponentUpdateType.Invulnerable);
      }
   }

   class="kw">public class="kw">static class EntityTrackerUpdate class="kw">extends MarkerReplicationSystems.EntityTrackerUpdate {
      class="kw">public EntityTrackerUpdate(ComponentType<EntityStore, EntityTrackerSystems.Visible> var1) {
         super(var1, Invulnerable.getComponentType(), InvulnerableUpdate::new);
      }
   }
}