LivingEntityUseBlockEvent class
Пакет: com.hypixel.hytale.server.core.event.events.entity
Файл: com/hypixel/hytale/server/core/event/events/entity/LivingEntityUseBlockEvent.java
implements: IEvent<String>
Поля (1)
| Модификаторы | Тип | Имя |
|---|---|---|
private |
Ref<EntityStore> |
ref |
Методы (2)
| Модификаторы | Возврат | Сигнатура |
|---|---|---|
public |
String |
getBlockTypeString getBlockType() |
public |
Ref<EntityStore> |
getRefRef<EntityStore> getRef() |
Исходный код
Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.event.events.entity;
class="kw">import com.hypixel.hytale.component.Ref;
class="kw">import com.hypixel.hytale.event.IEvent;
class="kw">import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
class="kw">import javax.annotation.Nonnull;
@Deprecated(forRemoval = true)
class="kw">public class LivingEntityUseBlockEvent class="kw">implements IEvent<String> {
class="kw">private Ref<EntityStore> ref;
class="kw">private String blockType;
class="kw">public LivingEntityUseBlockEvent(Ref<EntityStore> var1, String var2) {
this.ref = var1;
this.blockType = var2;
}
class="kw">public String getBlockType() {
class="kw">return this.blockType;
}
class="kw">public Ref<EntityStore> getRef() {
class="kw">return this.ref;
}
@Nonnull
@Override
class="kw">public String toString() {
class="kw">return "LivingEntityUseBlockEvent{blockType=" + this.blockType + "} " + super.toString();
}
}