package ch.deletescape.pathetic.mixin; import ch.deletescape.pathetic.PatheticProperties; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.GrassBlock; import net.minecraft.state.StateManager; import org.spongepowered.asm.mixin.Mixin; // SnowyBlock is in the class hierarchy of GrassBlock and overrides appendProperties without calling super() @Mixin(GrassBlock.class) public abstract class GrassBlockMixin extends Block { GrassBlockMixin(Settings settings) { super(settings); } @Override protected void appendProperties(StateManager.Builder builder) { builder.add(PatheticProperties.STEP_COUNT); super.appendProperties(builder); } }