From c37e8bb98d04801a31b1f0dd1c74f5117c534aeb Mon Sep 17 00:00:00 2001 From: syeyoung Date: Fri, 22 Jan 2021 13:06:37 +0900 Subject: categorize feature impls --- .../roomprocessor/bossfight/BossfightProcessorLivid.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java index 3cb85642..6f664099 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java @@ -1,5 +1,6 @@ package kr.syeyoung.dungeonsguide.roomprocessor.bossfight; +import lombok.Getter; import net.minecraft.client.entity.EntityOtherPlayerMP; import net.minecraft.entity.item.EntityArmorStand; import net.minecraftforge.event.entity.living.LivingEvent; @@ -8,8 +9,10 @@ import java.util.HashSet; import java.util.LinkedList; import java.util.Set; +@Getter public class BossfightProcessorLivid extends GeneralBossfightProcessor { private String realLividName; + private EntityOtherPlayerMP realLivid; private Set knownLivids = new HashSet(); @@ -23,6 +26,7 @@ public class BossfightProcessorLivid extends GeneralBossfightProcessor { if (!knownLivids.contains(updateEvent.entityLiving.getName())) { knownLivids.add(updateEvent.entityLiving.getName()); realLividName = updateEvent.entityLiving.getName(); + realLivid = (EntityOtherPlayerMP) updateEvent.entityLiving; System.out.println("Think real livid is "+realLividName); } } -- cgit