Cleanup
This commit is contained in:
@@ -28,7 +28,7 @@ import java.util.List;
|
||||
* <br>
|
||||
* <i>N.B. This doesn't cover item models, and all of the code/model solutions to this that I have tried haven't worked.
|
||||
* However, I noticed that the shade tag seems to work perfectly for items, so instead I've simply duplicated the block
|
||||
* models into the item models folder and add {@code "shade":false} where appropriate. (If it works, it works, right?)</i>
|
||||
* models into the item models folder and add {@code "shade":false} where appropriate. (If it works, it works, right?)</i>
|
||||
*
|
||||
* @author Electroblob
|
||||
* @author raoulvdberge
|
||||
|
||||
@@ -83,7 +83,7 @@ public abstract class ParticleTargeted extends ParticleWizardry {
|
||||
float z = (float)(this.prevPosZ + (this.posZ - this.prevPosZ) * (double)partialTicks);
|
||||
|
||||
// Translates the particle a short distance in front of the entity
|
||||
if(this.entity != null && this.shouldApplyOriginOffset()){ // TODO: Replace with a protected boolean method
|
||||
if(this.entity != null && this.shouldApplyOriginOffset()){
|
||||
if(this.entity != viewer || Minecraft.getMinecraft().gameSettings.thirdPersonView != 0){
|
||||
Vec3d look = entity.getLook(partialTicks).scale(THIRD_PERSON_AXIAL_OFFSET);
|
||||
x += look.x;
|
||||
|
||||
Reference in New Issue
Block a user