Posted May 13, 20178 yr I have a custom block (an instance of an anonymous subclass of my BlockGeneric class, which itself extends net.minecraft.Block) which I have marked (by overriding canEntityDestroy within the anonymous subclass) as indestructible by the ender dragon and would also like to mark as immovable by pistons. How would I do this?
May 13, 20178 yr Author 2 minutes ago, diesieben07 said: You need to override Block::getMobilityFlag. Thanks, I'll try doing that.
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.