Jump to content

Dudaqu

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Dudaqu

  1. BooleanProperty does work so I thought IntegerProperty works the same way. Is there something I am missing? This is how I tried using it: public static final IntegerProperty P_COUNT = IntegerProperty.create("pCo",0,5); public CCCBlock(Properties properties) { super(properties); this.registerDefaultState(this.defaultBlockState().setValue(P_COUNT, 0)); } protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> pBuilder) { pBuilder.add(P_COUNT); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.