HyCodeYourTale
classpublicPriority 3

SpawnMarkerReference

com.hypixel.hytale.server.npc.components.SpawnMarkerReference

extends SpawnReference

2

Methods

2

Public Methods

0

Fields

1

Constructors

Constants

BuilderCodec<SpawnMarkerReference>CODEC= BuilderCodec.builder(SpawnMarkerReference.class, SpawnMarkerReference::new, BASE_CODEC) .bu...

Constructors

public
SpawnMarkerReference()

Methods

Public Methods (2)

public
Component<EntityStore> clone()
@Nonnull@Override
publicstatic
ComponentType<EntityStore, SpawnMarkerReference> getComponentType()

Inheritance

Parent
Current
Interface
Child

Use mouse wheel to zoom, drag to pan. Click nodes to navigate.

Related Classes

Source Code

package com.hypixel.hytale.server.npc.components;

import com.hypixel.hytale.codec.builder.BuilderCodec;
import com.hypixel.hytale.component.Component;
import com.hypixel.hytale.component.ComponentType;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.server.spawning.SpawningPlugin;
import javax.annotation.Nonnull;

public class SpawnMarkerReference extends SpawnReference {
   public static final BuilderCodec<SpawnMarkerReference> CODEC = BuilderCodec.builder(SpawnMarkerReference.class, SpawnMarkerReference::new, BASE_CODEC)
      .build();

   public SpawnMarkerReference() {
   }

   public static ComponentType<EntityStore, SpawnMarkerReference> getComponentType() {
      return SpawningPlugin.get().getSpawnMarkerReferenceComponentType();
   }

   @Nonnull
   @Override
   public Component<EntityStore> clone() {
      SpawnMarkerReference reference = new SpawnMarkerReference();
      reference.reference = this.reference;
      return reference;
   }
}