HyCodeYourTale
classpublicPriority 3

RespondToHit

com.hypixel.hytale.server.core.modules.entity.component.RespondToHit

implements Component

2

Methods

2

Public Methods

0

Fields

1

Constructors

Constants

BuilderCodec<RespondToHit>CODEC= BuilderCodec.builder(RespondToHit.class, () -> INSTANCE).build()
RespondToHitINSTANCE= new RespondToHit()

Constructors

private
RespondToHit()

Methods

Public Methods (2)

public
Component<EntityStore> clone()
@Override
publicstatic
ComponentType<EntityStore, RespondToHit> 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.core.modules.entity.component;

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.modules.entity.EntityModule;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;

public class RespondToHit implements Component<EntityStore> {
   public static final RespondToHit INSTANCE = new RespondToHit();
   public static final BuilderCodec<RespondToHit> CODEC = BuilderCodec.builder(RespondToHit.class, () -> INSTANCE).build();

   public static ComponentType<EntityStore, RespondToHit> getComponentType() {
      return EntityModule.get().getRespondToHitComponentType();
   }

   private RespondToHit() {
   }

   @Override
   public Component<EntityStore> clone() {
      return INSTANCE;
   }
}