public override void Init(IDefinitionManager definitionManager) { wood = definitionManager.GetDefinitionIndex <WoodBlockDefinition>(); leave = definitionManager.GetDefinitionIndex <OrangeLeavesBlockDefinition>(); water = definitionManager.GetDefinitionIndex <WaterBlockDefinition>(); }
public override void Init(IDefinitionManager definitionManager) { cactus = definitionManager.GetDefinitionIndex <CactusBlockDefinition>(); water = definitionManager.GetDefinitionIndex <WaterBlockDefinition>(); }