Java Code Examples for net.minecraft.entity.Entity#isGlowing()
The following examples show how to use
net.minecraft.entity.Entity#isGlowing() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RenderGlobalSchematic.java From litematica with GNU Lesser General Public License v3.0 | 6 votes |
private boolean isOutlineActive(Entity entityIn, Entity viewer, ICamera camera) { boolean sleeping = viewer instanceof EntityLivingBase && ((EntityLivingBase)viewer).isPlayerSleeping(); if (entityIn == viewer && this.mc.gameSettings.thirdPersonView == 0 && sleeping == false) { return false; } else if (entityIn.isGlowing()) { return true; } else if (this.mc.player.isSpectator() && this.mc.gameSettings.keyBindSpectatorOutlines.isKeyDown() && entityIn instanceof EntityPlayer) { return entityIn.ignoreFrustumCheck || camera.isBoundingBoxInFrustum(entityIn.getEntityBoundingBox()) || entityIn.isRidingOrBeingRiddenBy(this.mc.player); } else { return false; } }
Example 2
Source File: ESP.java From bleachhack-1.14 with GNU General Public License v3.0 | 5 votes |
@Override public void onDisable() { super.onDisable(); for (Entity e: mc.world.getEntities()) { if (e != mc.player) { if (e.isGlowing()) e.setGlowing(false); } } }
Example 3
Source File: ESP.java From bleachhack-1.14 with GNU General Public License v3.0 | 5 votes |
public void onDisable() { for (Entity e: EntityUtils.getLoadedEntities()) { if (e != mc.player) { if (e.isGlowing()) e.setGlowing(false); } } }
Example 4
Source File: ESP.java From bleachhack-1.14 with GNU General Public License v3.0 | 5 votes |
@Override public void onDisable() { super.onDisable(); for (Entity e: mc.world.getEntities()) { if (e != mc.player) { if (e.isGlowing()) e.setGlowing(false); } } }
Example 5
Source File: ESP.java From bleachhack-1.14 with GNU General Public License v3.0 | 5 votes |
@Override public void onDisable() { super.onDisable(); for (Entity e: mc.world.getEntities()) { if (e != mc.player) { if (e.isGlowing()) e.setGlowing(false); } } }