aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/features/SexAura.java
diff options
context:
space:
mode:
authorRoseGoldIsntGay <yoavkau@gmail.com>2022-02-04 14:17:32 +0200
committerRoseGoldIsntGay <yoavkau@gmail.com>2022-02-04 14:17:32 +0200
commit20894963147ef84a7ad7d578191de69a856f6403 (patch)
tree34bf1488f2042630c595f557543d324510bd1429 /src/main/java/rosegoldaddons/features/SexAura.java
parentf4b58abbda168b01513a5ac2ba2870bc00df7074 (diff)
downloadRGA-20894963147ef84a7ad7d578191de69a856f6403.tar.gz
RGA-20894963147ef84a7ad7d578191de69a856f6403.tar.bz2
RGA-20894963147ef84a7ad7d578191de69a856f6403.zip
2.7.1
Diffstat (limited to 'src/main/java/rosegoldaddons/features/SexAura.java')
-rw-r--r--src/main/java/rosegoldaddons/features/SexAura.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main/java/rosegoldaddons/features/SexAura.java b/src/main/java/rosegoldaddons/features/SexAura.java
index 54e88f2..543915f 100644
--- a/src/main/java/rosegoldaddons/features/SexAura.java
+++ b/src/main/java/rosegoldaddons/features/SexAura.java
@@ -1,15 +1,10 @@
package rosegoldaddons.features;
-import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.ChatComponentText;
import net.minecraftforge.client.event.ClientChatReceivedEvent;
-import net.minecraftforge.event.entity.EntityJoinWorldEvent;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import rosegoldaddons.Main;
-import rosegoldaddons.events.RenderLivingEntityEvent;
-
-import java.util.Map;
public class SexAura {
@SubscribeEvent(priority = EventPriority.HIGHEST)
@@ -32,21 +27,6 @@ public class SexAura {
}
}
- @SubscribeEvent
- public void onEntityRender(RenderLivingEntityEvent event) {
- if (Main.init) {
- String text = event.entity.getDisplayName().getFormattedText();
- for (Map.Entry<String, String> entry : Main.resp.entrySet()) {
- String key = entry.getKey();
- String value = entry.getValue();
- if (text.contains(key) && !text.contains(value)) {
- event.entity.setCustomNameTag(text.replace(key, value));
- break;
- }
- }
- }
- }
-
private static void playAlert() {
Main.mc.thePlayer.playSound("random.orb", 1, 0.5F);
}