Posted August 24, 201312 yr I'm trying to play each block's stepsound when my projectile entity hits it, I need the Block.getStepSound getter to be added for this to happen as it's a public variable. Something along the lines of: /** * Gets the footstep sound for the block. Returns the StepSound. */ public StepSound getStepSound() { return this.stepSound; }
August 24, 201312 yr You need a getter to be added because it's a PUBLIC variable? I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.