package org.cyclops.cyclopscore.block.property;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * Apply this annotation to {@link net.minecraft.block.properties.IProperty}s inside a {@link net.minecraft.block.Block}.
 * This will automatically generate the methods {@link net.minecraft.block.Block#getStateFromMeta(int)},
 * {@link net.minecraft.block.Block#getMetaFromState(net.minecraft.block.state.IBlockState)} and
 * {@link net.minecraft.block.Block#createBlockState()}.
 *
 * You should only annotate {@link net.minecraft.block.properties.IProperty} or
 * {@link net.minecraftforge.common.property.IUnlistedProperty} fields.
 *
 * This can also be added to arrays of the allowed fields to mark all of the elements as properties.
 *
 * @author rubensworks
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface BlockProperty {
    /**
     * If set to true this property will not be required in the blockstate file.
     */
	public boolean ignore() default false;
}

package org.cyclops.cyclopscore.block.property;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * Apply this annotation to {@link net.minecraft.block.properties.IProperty}s inside a {@link net.minecraft.block.Block}.
 * This will automatically generate the methods {@link net.minecraft.block.Block#getStateFromMeta(int)},
 * {@link net.minecraft.block.Block#getMetaFromState(net.minecraft.block.state.IBlockState)} and
 * {@link net.minecraft.block.Block#createBlockState()}.
 *
 * You should only annotate {@link net.minecraft.block.properties.IProperty} or
 * {@link net.minecraftforge.common.property.IUnlistedProperty} fields.
 *
 * This can also be added to arrays of the allowed fields to mark all of the elements as properties.
 *
 * @author rubensworks
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface BlockProperty {
    /**
     * @return If set to true this property will not be required in the blockstate file.
     */
	public boolean ignore() default false;
}

Remove ugly compile warning