BlockSapling.cs 804 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using MineCase.Block.State;
  5. using MineCase.Item;
  6. namespace MineCase.Block
  7. {
  8. public class BlockSapling : Block
  9. {
  10. public static IntegerProperty StageProperty = new IntegerProperty("stage", 2);
  11. public BlockSapling(string name = "sapling")
  12. {
  13. FullBlock = false;
  14. LightOpacity = 0;
  15. Translucent = false;
  16. LightValue = 0;
  17. UseNeighborBrightness = false;
  18. BlockHardness = 1.0f;
  19. BlockResistance = 0.0f;
  20. EnableStats = false;
  21. NeedsRandomTick = false;
  22. IsBlockContainer = false;
  23. BlockSoundType = null;
  24. BlockParticleGravity = 1.0f;
  25. Name = name;
  26. }
  27. }
  28. }