From 6233c2f6ca58a6abe0f250f5e791abadd65cab72 Mon Sep 17 00:00:00 2001 From: Soaryn Date: Thu, 31 Oct 2013 17:13:18 -0400 Subject: [PATCH] Accessors for particleMaxAge Allows access to the maxAge for "copied" layers to behave for the same duration. --- codechicken/lib/render/EntityDigIconFX.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/codechicken/lib/render/EntityDigIconFX.java b/codechicken/lib/render/EntityDigIconFX.java index 185b2ba..5a8c064 100644 --- a/codechicken/lib/render/EntityDigIconFX.java +++ b/codechicken/lib/render/EntityDigIconFX.java @@ -33,6 +33,14 @@ public float getScale() { return particleScale; } + public void setMaxAge(int age){ + particleMaxAge = age; + } + + public int getMaxAge(){ + return particleMaxAge; + } + /** * copy pasted from EntityDiggingFX */