From ddadd1f831892c213ba6b7fdf520b56972423603 Mon Sep 17 00:00:00 2001 From: Soaryn Date: Sat, 12 Oct 2013 19:18:08 -0400 Subject: [PATCH] Adds getter and setter for Dig FX particleScale A copy method may be better for this, in the end this will allow for "layered" textures to work properly when breaking a block --- 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 97f854e..185b2ba 100644 --- a/codechicken/lib/render/EntityDigIconFX.java +++ b/codechicken/lib/render/EntityDigIconFX.java @@ -25,6 +25,14 @@ public int getFXLayer() return 1; } + public void setScale(float scale) { + particleScale = scale; + } + + public float getScale() { + return particleScale; + } + /** * copy pasted from EntityDiggingFX */